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 
Owner || Awesomeness :]
Owner || Awesomeness :]

Posts : 202
Points : 34035
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.

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>
          <div align="center">
          <div class="display">
if (isset($message)) {
  echo '<ul>';
  foreach ($message as $item) {
    echo "<li>$item</li>";
  echo '</ul>';
              <form id="form1" name="form1" method="post" action="">
                    <table cellspacing="0" cellpadding="5" width="100%">
                            <td width="50%" align="right" class="list">Account :</td>
                          <td class="list"><input id="username" type="text" name="username" maxlength="12"></td>
                          <td width="50%" align="right" class="list">Password :</td>
                          <td class="list"><input id="password" type="password" name="password" maxlength="20" /></td>
                            <td width="50%" align="right" class="list">Character:</td>
                          <td align="left" class="list"><input id="char" type="text" name="char" maxlength="12"></td>
                          <td align="center" colspan="2"><input id="reset" name="reset" type="submit" value="Vote!" /></td>

Please go vote now. You have the time, i know it.

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

$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
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: