index.php login page

Collapse
X
 
  • Filter
  • Time
  • Show
Clear All
new posts

    index.php login page

    hi there good coder i am trying to create a new login page for the wapdesire v_2 script i have done

    Code:
    <?php
    define('WCS',true);
    include('./core/main.inc');
    header_type();
    addvisitor();
    blocked_ip(ip(),0);
    blocked_network(network(ip(),"isp"),0);
    blocked_browser($_SERVER["HTTP_USER_AGENT"],0);
    cleardata();
    if(ipbanned(ip(),browser())){
    if(!shield(getuid_sid($sid))){
    echo head_tag("Ip Blocked!!!",0,0);
    echo ipbanned_msg();
    echo foot_tag();
    exit();
    }
    }
    
    /////////////////////////INDEX PAGE/////////////////////////
    
    echo head_tag(sitename(),0,0);
    $title="<img src=\"./phpThumb/phpThumb.php?src=../images/$logo\" alt=\"".sitename()."\"/><br/>
    ".date("g:ia",strtotime("-0 hours"))."<br/>".date("l jS F",strtotime("-0 hours"));
    $main="<p align=".align().">";
    $main.="<b>Welcome to $sitename, the one and only site for mobile and pc users<br/> come on in and have a look and maybe a chat we have  ".getnumonline($sid)." Online Members<br/> for u to chat to  ;o)</b><br/><br/></p>";
    $main.="<body bgcolor='#FFFFFF' text='#000000'>\n";
    $main.="<div id='bv_Login1' style='position:absolute;left:463px;top:134px;width:182px;height:150px;z-index:0;' align='left'>\n";
    $main.="<form name='loginform' method='post' action='<?php echo basename(__FILE__); ?>' id='loginform'>\n";
    $main.="<table cellspacing='4' cellpadding='0' style='background-color:#EFF6FF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;width:182px;height:150px;'>\n";
    $main.="<tr>\n";
    $main.="<td colspan='2' align='center' height='13px' style='background-color:#BFDBFF;color:#006BF5;'>Log In</td>\n";
    $main.="</tr>\n";
    $main.="<tr>\n";
    $main.="<td align='right' height='13px'>User Name:</td>\n";
    $main.="<td><input name='username' type='text' id='username' value='username' style='width:100px;height:18px;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;' /></td>\n";
    $main.="</tr>\n";
    $main.="<tr>\n";
    $main.="<td align='right' height='13px'>Password:</td>\n";
    $main.="<td><input name='password' type='password' id='password' value='password' style='width:100px;height:18px;px;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;color:#006BF5;font-family:Verdana;font-size:11px;' /></td>\n";
    $main.="</tr>\n";
    $main.="<tr>\n";
    $main.="<td colspan='2' height='13px' align='center'><input id='rememberme' type='checkbox' name='rememberme' />Remember me</td>\n";
    $main.="</tr>\n";
    $main.="<tr>\n";
    $main.="<td align='right' valign='bottom' colspan='2'><input type='submit' name='login' value='Log In' id='login' style='color:#006BF5;background-color:#FFFFFF;border-color:#BFDBFF;border-width:1px;border-style:solid;font-family:Verdana;font-size:11px;width:70px;height:20px;' /></td>\n";
    $main.="</tr>\n";
    $main.="</table>\n";
    $main.="</form>\n";
    $main.="</div>\n";
    $main="<p align=".align().">
    
    -&gt; <a href=\"./register.php\">Register</a><br/>
    -&gt; <a href=\"./terms.php\">Terms Of Use</a><br/>
    </p>";
    echo xhtml($sid,$title,0,0,0,0,0,0,0,0,0,$main);
    echo foot_tag();
    ?>
    now my register and terms of use shows and the foot_tag shows but nothing else can some one help me on this to get it to show please thanks to any one thathelps me fix this
    HELP THEM WHO HELPS YOU



    i only work on wapdesire v_2 coding only
Working...
X