can you help me how to vote every 4 hours?

Results 1 to 16 of 16
  1. #1
    Newbie johnshiro is offline
    MemberRank
    Jan 2011 Join Date
    14Posts

    can you help me how to vote every 4 hours?

    pls guys i need your help. its ok if every 6 hour... plss help me.....
    Last edited by johnshiro; 14-01-11 at 02:05 PM.


  2. #2
    RaGEZONER habib10 is offline
    Grand MasterRank
    Nov 2009 Join Date
    AnywereLocation
    778Posts

    Re: can you help me how to vote every 4 hours?

    more info?

  3. #3
    StoP Callin me MentaL I'm Not MentaL is offline
    Grand MasterRank
    Dec 2008 Join Date
    Guang Dong, PRCLocation
    4,275Posts

    Re: can you help me how to vote every 4 hours?

    vote what?

  4. #4
    Newbie johnshiro is offline
    MemberRank
    Jan 2011 Join Date
    14Posts

    Re: can you help me how to vote every 4 hours?

    im a fallen ran online admin..... we have a 5 voting site like RZ gtop100 xtremetop100..... and where voting every 12 hours.... i just want to know how to decrease the time of voting...plsss teach me sir plss

  5. #5
    Sorcerer Supreme eu`CutterEye is offline
    Member +Rank
    Mar 2010 Join Date
    d3ath CitYLocation
    252Posts

    Re: can you help me how to vote every 4 hours?

    try this one .. i just saw it ..


    Code:
    <? 
    session_start();
    header("Cache-control: private");
    ob_start();
    $timeStart=gettimeofday();
    $timeStart_uS=$timeStart["usec"];
    $timeStart_S=$timeStart["sec"]; 
    require("config.php");
    require("sql_inject.php");
    require_once "sql_inject.php";
    $bDestroy_session = TRUE;
    $url_redirect = 'index.php';
    $sqlinject = new sql_inject('./log_file_sql.log',$bDestroy_session,$url_redirect) ;
    include("includes/web_modules.php");
    magic();
    include("includes/clean_var.php");
    include("includes/sql_check.php");
    htmlspecialchars($_REQUEST);
    include("includes/login.class.php");
    login();
    check_inject();
    logincheck();
    check_user(); 
    function delayedrefresh($page) {
    	echo "<meta http-equiv='refresh' content='3; URL={$page}'>";
    }
    function quickrefresh($page) {
    	echo "<meta http-equiv='refresh' content='.0000000000000000001; URL={$page}'>";
    }
    if(isset($_SESSION['user'])) {clean_var($_SESSION['user']);}
    ?>
    <META http-equiv=Content-Type content="text/html; charset=big5"><META http-equiv=Content-Type content="text/html; charset=big5">
    
    <HTML>
    <style type="text/css">
    <!--
    .STYLE4 {
    	color: #057D8B;
    	font-size: x-small;
    }
    -->
    </style>
    <link rel="stylesheet" type="text/css" href="css/common.css" />  
    <script type="text/javascript" language="javascript" src="js/global.js"></script>
    <script type="text/javascript" language="javascript" src="js/cabal_menuLine_090623.js"></script>
    <script type="text/javascript" language="javascript" src="js/jquery.js"></script> 
    <script type="text/javascript" language="javascript" src="js/common.js"></script> 
    <link rel="shortcut icon" href="/Images/ICON.ico" type="image/x-icon" />
    
    
    
    
    <link rel="stylesheet" type="text/css" href="scripts/s_news.css" />
    
    
    
    <script type="text/javascript">
    
    var message="";
    ///////////////////////////////////
    function clickIE() {if (document.all) {(message);return false;}}
    function clickNS(e) {if 
    (document.layers||(document.getElementById&&!document.all)) {
    if (e.which==2||e.which==3) {(message);return false;}}}
    if (document.layers) 
    {document.captureEvents(Event.MOUSEDOWN);document.onmousedown=clickNS;}
    else{document.onmouseup=clickNS;document.oncontextmenu=clickIE;}
    
    document.oncontextmenu=new Function("return false")
    // --> 
    </script>
    
    
    
    <!-- Mirrored from www.5jms.com/ by HTTrack Website Copier/3.x [XR&CO'2007], Tue, 19 Aug 2008 01:31:36 GMT -->
    <HEAD>
    <title><?php require("config.php"); echo($web['webtitle']); ?> - <? 
    if(!isset($_GET['op'])){echo("Register");} 
    else{echo(ucfirst($_GET['op']));} 
    ?></title>
    
    <META content="MSHTML 6.00.3790.2920" name=GENERATOR>
    <script language="javascript">
    function OpenWin(code)
     {
     var newwin=window.open("viewgmbuy.asp?gStr=" + code,"mds_info","top=30,left=100,width=460,height=300,status=no,toolbar=no,location=no,scrollbars=auto,menubar=no,resizable=yes");
     }
    var aID=0;
    function ShowTabs1(ID){
    	if(ID!=aID){
    	TabTitle1[aID].className="main_menu_title1";
    	TabTitle1[ID].className="main_menu_title2";
    	Tabs1[aID].style.display="none";
    	Tabs1[ID].style.display="";
    	aID=ID;
    	 }
    }
    function isok(loginform)
    {
    if (loginform.username.value=="")
    {
    alert("½Ð¿é¤J§Aªº¥Î¤á¦W¡I");
    loginform.username.focus();
    return (false);
    }
    
    if (loginform.password.value=="")
    {
    alert("½Ð¿é¤J§Aªº­Ó¤H±K½X¡I");
    loginform.password.focus();
    return (false);
    }
    if(loginform.yzh.value=="")
    {
    alert("½Ð¿é¤JÅçÃÒ½X¡I");
    loginform.yzh.focus();
    return false;
    }
    return (true);
    }
    </SCRIPT>
    </HEAD>
    <html lang="en-GB">
    <head>
    </script>
    
    
    <style type="text/css">
    <!--
    .style2 {font-size: 26px; font-family: Verdana, Arial, Helvetica, sans-serif; color: #ffffff; text-align:center;}
    .style1 {font-size: 10pt; font-family: Verdana, Arial, Helvetica, sans-serif; color: #ffffff; text-align:left; font-weight:bold;}
    -->
    </style>
    </head>
    <body oncontextmenu="return false" ondragstart="return false" >
    <div id="container">
    	<!-- (S) GNB -->
    	<div id="gnb"></div>
    <script language="JavaScript" type="text/JavaScript">
    <!--
    $(function(){
    			
    
    	gameGNB.setGNB({"auth":"login"});
    	
    
    });
    //-->
    
    </script>
    
    	<!-- (E) GNB -->
    	<!-- (S) MAIN -->
    	<center>
    	<div class="wrap_content">
    	</center>
    		<!-- (S) TOP_VISUAL_SUB -->
    					
    				<div class="visual">
    			<script type="text/javascript" language="javascript">
    				showFlashObject('mainvisual', 'flash/CabalMenu_sub_090623.swf', '980', '180', 'best', 'transparent', '#000');
    			</script>
    
    		</div>
    		<!-- (E) TOP_VISUAL_SUB -->
    		
    		<div class="content">
    
    			<!-- (S) LEFT -->
    						<div class="wrap_left">
    				<p class="game_download">
    					<script type="text/javascript" language="javascript">
    					showFlashObject('leftdownload', 'flash/sub_download.swf', '176', '121', 'best', 'transparent', '#000');					
    					</script>
    				</p>
    
    				<div class="submenu">
    								
    					<h1><img src="images/vote.jpg" alt="NEWS" /></h1>
    					<ul>
    <li><a href="user.php?op=user&option=characters" ><img src="images/characters.png" id="menu1" /></a>
    						<li><a href="user.php?op=user&option=changepassword" ><img src="images/changepass.png" id="menu1" /></a>
    						<li><a href="user.php?op=user&option=mixclass" ><img src="images/changeclass.png" id="menu1" /></a>
    						<li><a href="user.php?op=user&option=school" ><img src="images/changeschool.png" id="menu1" /></a>
    						<li><a href="jerwin.php" ><img src="images/v2p.png" id="menu1" /></a>
    						<li><a href="user.php?op=user&option=fileticket" ><img src="images/ticket.png" id="menu1" /></a>
    						<li><a href="rankings.php" ><img src="images/playersranking.png" id="menu1" /></a>
    						<li><a href="guildrankings.php" ><img src="images/guild_rankings.png" id="menu1" /></a>
    						</ul>				
    				
    				</div>
    				<!-- (s) user guide -->
    
    				<div class="wrap_userguide">
    					
    					<p><a href="webshop.php"><img src="images/ban_item_shop.jpg" alt="ITEM SHOP"></a></p>
    					<p><a href="<? echo($web['forum_link']); ?>"><img src="images/ban_forum.jpg" alt="FORUM"></a></p>
    				</div>
    				<!-- (e) user guide -->
    				<!-- (s) quickmenu -->
    				<div class="wrap_quickmenu">
    					
    				</div>
    				<!-- (e) quickmenu -->				
    
    <script language="JavaScript" type="text/javascript">
    <!--
    	rollover('menu1');
    
    //-->
    </script>
    			</div>
    
    			
    			<!-- (E) LEFT -->			
    
    			<!--(S) MIDDLE -->
    			<div class="wrap_middle"><div class="wrap_middle_rd">
    
    								<div class="pageinfo">
    				<h1><img src="images/register.png" alt="Notices" /></h1>				
    					<div class="linemap">
    						<a href="index.php"><strong>Main</strong></a> &gt; <a href="webshop.php"><strong>Webshop</strong></a> &gt; <em><strong>Voting System</strong></em>
    					</div>
    				
    				</div>				
    				
    				<div class="subcontent">
    
    					<div class="wrap_board">
    					
    						    <? include_once("includes/tw_vote.php"); ?>
    						<!-- end :: list -->
    					<br>	
    <center></center>
    <!-- start :: page -->
    
    					
    						<div class="pageing">
    												
    							<span class="number">
    								
    								 
    			
    					
    						
    						</div>
    						
    
    						<!-- end :: page -->
    					</div><!-- end of wrap_board -->
    				</div>
    
    			</div></div>
    
    						<div class="wrap_right">
    			<!-- (s) RIGHT -->			
    				<div class="quicklink">
    					<script type="text/javascript" language="javascript">
    					showFlashObject('quickmenu', 'images/quickmenu.swf', '115', '177', 'best', 'transparent', '#000');					
    					</script>
    				</div>
    <br>
    				
    
    				
    
    				
    			<!-- (e) RIGHT -->				
    			</div>
    			
    		</div>
    		
    		<!-- (S) FOOTER -->
    		<!-- Cabal.ogplanet.com (S) -->
    
    	<div id="footer2">
    		
    	</div>
    	<style>
    	#footer2{
    	background:url('images/cabal_footer.jpg') no-repeat top left;
    	width:879px;
    	height:87px;
    	clear:both;
    	position:relative;
    	margin: 0 auto;
    	}
    	#footer2 a{display:block; text-indent:-1000em; position:absolute;}
    	#footer2 a{width:85px; height:20px; top:25px; }
    	#footer2 a.ogplanet{left:35px; width:130px; height:40px; top:15px; }
    	#footer2 a.estsoft{left:700px; width:85px; height:40px; top:15px; }
    	#footer2 a.about{left:200px; width:105px; }
    	#footer2 a.agree{left:332px; width:102px; }
    	#footer2 a.policy{left:466px; }
    	#footer2 a.contact{left:575px; }
    	</style>
    	
    <!-- Cabal.ogplanet.com (E) -->
    
    
    
    <script src="http://www.google-analytics.com/urchin.js" type="text/javascript">
    </script>
    <script type="text/javascript">
    _uacct = "UA-3525049-4";
    urchinTracker();
    </script>
    
    			
    			
    					
    		<!-- (E) FOOTER -->
    		
    	</div>
    	<!-- (E) MAIN -->
    </div>
    </body>
    </html>

  6. #6
    Newbie johnshiro is offline
    MemberRank
    Jan 2011 Join Date
    14Posts

    Re: can you help me how to vote every 4 hours?

    how can i put this sir can you teach me plss

  7. #7
    FFVIII SeiferXIII is offline
    ModeratorRank
    Sep 2007 Join Date
    SomewhereLocation
    1,958Posts

    Re: can you help me how to vote every 4 hours?

    @TS
    bro, i suggest you to make it every 12 hours, coz - in gtop, if im not mistaken :) they are requiring aLL voters to vote, every 12hrs ^^, meaning.. after u vote 6hrs and if you vote again after 6hrs, hehe you voted invalid

    - redundancy

  8. #8
    Newbie johnshiro is offline
    MemberRank
    Jan 2011 Join Date
    14Posts

    Re: can you help me how to vote every 4 hours?

    but why in grave yard ran .... there voting system is
    every 6 hours???

  9. #9
    StoP Callin me MentaL I'm Not MentaL is offline
    Grand MasterRank
    Dec 2008 Join Date
    Guang Dong, PRCLocation
    4,275Posts

    Re: can you help me how to vote every 4 hours?

    then why you dont ask graveyard ran admin?

  10. #10
    Sorcerer Supreme eu`CutterEye is offline
    Member +Rank
    Mar 2010 Join Date
    d3ath CitYLocation
    252Posts

    Re: can you help me how to vote every 4 hours?

    @qiangqiang101 , what server are u belong ?

  11. #11
    Newbie johnshiro is offline
    MemberRank
    Jan 2011 Join Date
    14Posts

    Re: can you help me how to vote every 4 hours?

    im from fallen ran online..... im just want to help them.....
    if i ask the grave yard admin do you think they will tell me how to do it?? i tried twice.. but they are not responding =(

  12. #12
    Grand Master nitro+ is offline
    Grand MasterRank
    Dec 2008 Join Date
    United StatesLocation
    1,055Posts

    Re: can you help me how to vote every 4 hours?

    I have votee script can adjust anytime but it's ASP script not PHP
    Posted via Mobile Device

  13. #13
    Newbie johnshiro is offline
    MemberRank
    Jan 2011 Join Date
    14Posts

    Re: can you help me how to vote every 4 hours?

    can you please share it to me plsss sir

  14. #14
    Grand Master nitro+ is offline
    Grand MasterRank
    Dec 2008 Join Date
    United StatesLocation
    1,055Posts

    Re: can you help me how to vote every 4 hours?

    I will modify a PHP script for you
    Posted via Mobile Device

  15. #15
    Grand Master nitro+ is offline
    Grand MasterRank
    Dec 2008 Join Date
    United StatesLocation
    1,055Posts

    Re: can you help me how to vote every 4 hours?

    heres the script originally from someone...
    READ THE SCRIPT FOR INSTRUCTION!!!
    in your config.php add these script and save

    PHP Code:
    extract($CONFIGEXTR_PREFIX_ALL"CONFIG");
    extract($_GETEXTR_PREFIX_ALL"GET");
    extract($_POSTEXTR_PREFIX_ALL"POST");
    extract($_SERVEREXTR_PREFIX_ALL"SERVER");
    define('VOTE_TIME'12);//12 is the VOTETIME LIMIT
    define('VOTE_LINK'serialize( array(
                                            
    => 'http://www.jagtoplist.com/in.php?site=12767',
                                           
    // 2 => 'http://www.gamesites100.net/in.php?site=14224',
                                           // 3 => 'http://www.jagtoplist.com/in.php?site=8297',
                                           // 4 => 'http://www.xtremetop100.com/in.php?site=1132265290',
                                           // 5 => 'http://ragnarok.top100arena.com/in.asp?id=27668',
                                           // 6 => 'http://www.rotop100.com/vote/5672/',
                                           // 7 => 'http://www.gtop100.com/in.php?site=28212',
                                           // 8 => 'http://www.jagtoplist.com/in.php?site=10294',
                                           // 9 => 'http://www.gamerstopgames.com/in.php?site=751',
                                           // 10 => 'http://www.gtop100.com/in.php?site=29243'
                                           //Put your SITE VOTING ADDRESS 2-10

                                
    ))
            ); 
    create new php file and name it vote and heres the script, copy and paste then save it

    PHP Code:
    <?php 
    session_start
    ();
    include(
    'config.php'); //FIND YOUR CONFIG IN YOUR FOLDER

    function redirect_to$location NULL 
    {
    if (
    $location != NULL
    {
    header("Location: {$location}");
    exit;
    }
    }
        function 
    logged_in() {
            return isset(
    $_SESSION['user']);
        }
        
        function 
    confirm_logged_in() {
            if (!
    logged_in()) {
                
    redirect_to("../login.php");
                
            }
        }
    confirm_logged_in();
    //include("includes/sql_check.php"); // <---remove this if not bk cp
    //check_inject();  // <---remove this if not bk cp
    $site $_GET['site'];
    $link unserialize(VOTE_LINK);
    $pekpek "last_vote" $site;

    if(!isset(
    $site) || !isset($link[$site]))

    header('Location: index.php');
    else 
    {
        
    $query mssql_query("SELECT UserPoint, $pekpek FROM UserInfo WHERE UserName =  '".$_SESSION['user']."'");
        
    //CREATE last_vote row in Ranuser.dbo.UserInfo
        
    $result mssql_result($query);
        
    $row mssql_fetch_array($query);
            
    if((
    time() - $row[1]) > (60 60 VOTE_TIME))
    {
    $asa1 mssql_query("UPDATE UserInfo SET UserPoint = '".($row['UserPoint'] + 100)."',  $pekpek = '".time()."', date = '".date()."' WHERE UserName = '".$_SESSION['user']."'");
    mssql_result($asa1);
    votes();
    }
    else

    {
            
    votes();
    }
    }




    function 
    votes() 
    {
        global 
    $site$link;

    if(isset(
    $link[$site]))
    //    header( 'Location: '.$link[ $site ] ); 
    echo '<html>
    <head>
    </head>

    <frameset  rows="139,*" border="0" frameborder="0" >

        <frame name="top" src="audit1.php" marginwidth="10" marginheight="10"  scrolling="no" frameborder="0">
        <frameset  cols="900,*" border="1" >
            <frame name="mainFrame" src="' 
    $link$site ] . '" marginwidth="0" marginheight="10"  scrolling="auto" frameborder="0" >
                <frame name="mainFrame" src="audit2.php" marginwidth="0" marginheight="10" scrolling="auto"  frameborder="0" >
        </frameset>
    </frameset>


    </html>'
    ;
    else
    header'Location: index.php' );
    die();
    }


    ?>
    hope it works
    Last edited by nitro+; 19-01-11 at 11:03 PM.

  16. #16
    Newbie johnshiro is offline
    MemberRank
    Jan 2011 Join Date
    14Posts
    thank you very much sir

    thank you very much sir ^_^
    Last edited by I'm Not MentaL; 02-03-11 at 01:15 PM.



Advertisement