Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- $IP = '192.168.1.5';
- $host = '192.168.1.5'; /* You Ip Host*/
- $user = 'root'; /* User Name nav */
- $pswrd = '123456'; /* Password AppServ*/
- $dbase = 'test'; /* Name Of Database*/
- $Port = '9959'; /* Dont CHange This*/
- $Server= 'QahrMatriX'; /* Server Name*/
- /*-----------------------------*/
- /*All you Informations*/
- $MobileFone = '01093504138'; /*You Fone Number*/
- $FB ='https://www.facebook.com/profile.php?id=100009653705685'; /*you Page Game In FaceBook To Like Player For Game*/
- $PF='https://www.facebook.com/profile.php?id=100009653705685'; /*You Face Book To Player Concet For You*/
- /*--------------------------*/
- /*---Downloads----*/
- /*Full-Patch*/
- $MegaNz='http://www.mediafire.com/file/w0uwxiiim6qyxkl/Conquer-TQ.rar';/*LinkHere*/
- $Media='http://www.mediafire.com/file/w0uwxiiim6qyxkl/Conquer-TQ.rar'; /*LinkHere*/
- $uptop='http://www.mediafire.com/file/w0uwxiiim6qyxkl/Conquer-TQ.rar';/*LinkHere*/
- /*End Full-Patch*/
- /*---------------*/
- /*Full-Client*/
- $CMedia='http://www.mediafire.com/file/w0uwxiiim6qyxkl/Conquer-TQ.rar';/*LinkHere*/
- /*End Full-Client*/
- /*-end DownLoads-*/
- $conn = mysql_connect($IP, $user, $pswrd) or die(mysql_error());
- if ($_GET['act']=='logout'){
- session_destroy();
- ?>
- <META HTTP-EQUIV="REFRESH" CONTENT="1;URL=index.php">
- <?php
- }
- if ($_POST['envio']==1)
- {
- mysql_select_db('cox');
- if ($_SESSION["id"]==0){
- mysql_select_db($dbase) or die(mysql_error());
- $user=$_POST['user'];
- $pass=$_POST['pass'];
- $result1 = "SELECT * FROM `accounts` WHERE username='$user' and password='$pass'";
- $query = mysql_query($result1);
- $sql2 = mysql_fetch_assoc($query);
- $count = mysql_num_rows($query);
- if ($count==1){
- $logued=1;
- $_SESSION["acc"]=$sql2['Username'];
- $_SESSION["uid"]=$sql2['EntityID'];
- }
- else{
- $error = '1';
- }
- }
- }
- $acc=$_SESSION['acc'];
- $uid=$_SESSION['uid'];
- ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement