Welcome to V75 HypnoticStory!!
Please check out our Revisions section,
And frequently check for updates and announcements.
Thank you & have fun!
 
HomeFAQSearchVote HypnoticRegisterLog in

Share | 
 

 Question if answered = PRIZE

Go down 
AuthorMessage
Randy
Owner || Awesomeness :]
Owner || Awesomeness :]
avatar

Posts : 202
Points : 33365
Join date : 2009-11-23
Age : 22
Location : Behind You.

PostSubject: Question if answered = PRIZE   Sat Dec 12, 2009 3:30 pm

Hey HypnoticStory.
Can you help me with this Vote script?
If you do ill give you a PRIZEE!!


I Found this is Cype2nd.
I want to use it for voting points but what do i have to add to make it timed, cause people right now could just keep clicking and getting points without voting.


Code:
<?php
include("nxconfig.php");
if (array_key_exists('reset', $_POST)) {

  $username = trim($_POST['username']);
  $password = trim($_POST['password']);
  $username = mysql_real_escape_string($username);
  $char = trim($_POST['char']);
  $mesocheck = mysql_query('SELECT * FROM meso FROM characters');
  $result = mysql_query("SELECT meso, accountid FROM characters WHERE name = '$char' LIMIT 1");
  list($meso, $accountid) = mysql_fetch_row($result);

  $result = mysql_query("SELECT id, password, salt FROM accounts WHERE name = '$username' LIMIT 1");
  list($id, $realpass, $salt) = mysql_fetch_row($result);

  $sql = "SELECT * FROM accounts WHERE name = '$username'";
  $result = mysql_query($sql);
  $row = mysql_fetch_assoc($result);
   
if($realpass == hash('sha512',$password.$salt) && $accountid == $id) {
    mysql_query("UPDATE accounts SET points = points + 1 WHERE name = '$username' LIMIT 1");
    echo '<html><frameset rows="*,0" framespacing="0" border="0" frameborder="NO"><frame src="http://www.gtop100.com/in.php?site=41245" scrolling="auto" noresize></frameset><noframes><body></body></noframes></html>';
    } else {
    echo "<center>Please Type Your Info Correctly..</center>";    }
    }
?>
      <div align="center">Vote for Hypnotic Points! Please Be Logged Off Before doing this.</div>
<br>
          <div align="center">
          <div class="display">
<?php
if (isset($message)) {
  echo '<ul>';
  foreach ($message as $item) {
    echo "<li>$item</li>";
    }
  echo '</ul>';
  }
?>
          </div>
              <form id="form1" name="form1" method="post" action="">
                    <table cellspacing="0" cellpadding="5" width="100%">
                  <tr>
                            <td width="50%" align="right" class="list">Account :</td>
                          <td class="list"><input id="username" type="text" name="username" maxlength="12"></td>
                        </tr>
                        <tr>
                          <td width="50%" align="right" class="list">Password :</td>
                          <td class="list"><input id="password" type="password" name="password" maxlength="20" /></td>
                        </tr>
                        <tr>
                            <td width="50%" align="right" class="list">Character:</td>
                          <td align="left" class="list"><input id="char" type="text" name="char" maxlength="12"></td>
                        </tr>
                        <tr>
                          <td align="center" colspan="2"><input id="reset" name="reset" type="submit" value="Vote!" /></td>
                        </tr>
                    </table>
            </form>
            </div>

_________________
Please go vote now. You have the time, i know it.
http://hypnoticstory.ath.cx:1337/sources/public/vote.php
------
http://donatehs.webs.com

We need YOUR help!
This is all to stop crashing and ALL LAG.
Together, we will win.
Click the link for more info.

Prizes:
$5 - 1 Item of choice.
$20 - 3 Items of Choice.
$50 - What do you want? Talk to Randy.
$100 - 20k AP
$220 - Special Characters in In-Game Name + 30k AP
Back to top Go down
http://hypnoticstory.no-ip.biz/
 
Question if answered = PRIZE
Back to top 
Page 1 of 1
 Similar topics
-
» Purple fishing gear > Prize (For girls)
» baseball bear question
» Dragon Adopter question.
» GOG Has Q&A With Tex Murphy Developer
» Chloe Rocks Question

Permissions in this forum:You cannot reply to topics in this forum
HypnoticStory - v75 :: Support :: Q & A-
Jump to: