Welcome to GTA Multiplayer Romania

Register now to gain access to all of our features. Once registered and logged in, you will be able to contribute to this site by submitting your own content or replying to existing content. You'll be able to customize your profile, receive reputation points as a reward for submitting content, while also communicating with other members via your own private inbox, plus much more! This message will be removed once you have signed in.

Aldor

Members
  • Content count

    3
  • Joined

  • Last visited

Community Reputation

0 Neutral

About Aldor

  • Rank
    Newbie
  • Birthday
  1. Nume: Aldor Varsta: 19 ani Problema: Nu apare cum trebuie pe pagina profile, nu am modificat absolut nimic in ea... dar nici nu functioneaza corespunzator si nici nu imi apar erorile ca sa stiu de la ce este... Imagini: https://imgur.com/a/HVrXg Cod sursa: https://pastebin.com/8gqZph8i Alte detalii: Va multumesc!
  2. Salut,am si eu o problema la panel.. La conectarea pe panel cu un cont care are punct la sfarsit gen: "Test." scrie ca "This user doesn't exist." Dar daca nu am acel punct la sfarsit .. merge. </div><div class="main-content"> <?php if(!defined('panel')) die('Nope.'); if(!isset($_SESSION['user']) && !isset(Config::$_url[1])) echo '<meta http-equiv="refresh" content="0;URL=\''.Config::$_PAGE_URL.'login\'/>'; if(isset(Config::$_url[1])) $user = (int)Config::$_url[1]; if(!isset(Config::$_url[1])) echo '<meta http-equiv="refresh" content="0;URL=\''.Config::$_PAGE_URL.'\'/>'; $q = Config::$g_con->prepare('SELECT * FROM `users` WHERE `name` = ?'); $q->execute(array(Config::$_url[1])); if(!$q->rowCount()) { echo ' <title>This user doesn\'t exist</title> <div class="breadcrumbs" id="breadcrumbs"> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="<?php echo Config::$_PAGE_URL; ?>">Home</a> </li> <li class="active">This user doesn\'t exist</li> </ul><!-- /.breadcrumb --> <div class="nav-search" id="nav-search"> <form method="POST" action="search"> <span class="input-icon"> <input type="text" placeholder="Search ..." name="sname" id="username" type="submit" class="nav-search-input" autocomplete="on"> <i class="ace-icon fa fa-search nav-search-icon"></i> </span> </form> </div> <!-- /.nav-search --> </div> <div class="page-content"><div class="row-fluid"><div class="span12"> <div class="alert alert-danger">This user doesn\'t exist.</div>'; return; } $data = $q->fetch(PDO::FETCH_OBJ); //include 'inc/config.php'; $respect = $data->Level*3+3; ?> <title><?php echo $data->name; ?>'s Profile - <?php echo Config::$_SITE_NAME; ?></title> <div class="breadcrumbs" id="breadcrumbs"> <script type="text/javascript"> try{ace.settings.check('breadcrumbs' , 'fixed')}catch(e){} </script> <ul class="breadcrumb"> <li> <i class="ace-icon fa fa-home home-icon"></i> <a href="<?php echo Config::$_PAGE_URL; ?>">Home</a> </li> <li class="active"><?php echo $data->name; ?>'s profile</li> </ul><!-- /.breadcrumb --> <div class="nav-search" id="nav-search"> <form method="POST" action="<?php echo Config::$_PAGE_URL; ?>search"> <span class="input-icon"> <input type="text" placeholder="Search ..." name="sname" id="username" type="submit" class="nav-search-input" autocomplete="on"> <i class="ace-icon fa fa-search nav-search-icon"></i> </span> </form> </div> <!-- /.nav-search --> </div> <div class="page-content"><div class="row-fluid"><div class="span12"> <?php if(isset($_SESSION['user']) && Config::getData('users', 'Admin', $_SESSION['user'])) { if(isset($_POST['deletepanelrestrict'])) { $q = Config::$g_con->prepare('DELETE FROM `panel_restrict` WHERE `PlayerName` = ?'); $q->execute(array($data->name)); echo '<div class="alert alert-success">Jucatorul a fost scos din panel suspend cu succes.</div>'; } if(isset($_POST['unban'])) { $q = Config::$g_con->prepare('UPDATE `bans` SET `Active` = 0 WHERE `PlayerName` = ?'); $q->execute(array(Config::getID('users','name',$data->name))); echo '<div class="alert alert-success">Jucatorul a primit unban cu succes.</div>'; } if(isset($_POST['warn'])) { if(!$_POST['reason']) echo '<div class="alert alert-danger">Ai lasat campuri necompletate.</div>'; else { echo '<div class="alert alert-success">Jucatorul a primit warn cu succes.</div>'; if($_POST['duration']) { $duration = 0; } else { $duration = 0; } $q = Config::$g_con->prepare('INSERT INTO `panelactions` (`actiontime`, `actionid`, `playerid`, `playername`, `giverid`, `givername`, `reason`) VALUES (?, ?, ?, ?, ?, ?, ?)'); $q->execute(array($duration,4,Config::getID('users','id',$data->name),Config::getID('users','name',$data->name),Config::getData('users','id',$_SESSION['user']),Config::getData('users','name',$_SESSION['user']),$_POST['reason'])); $q = Config::$g_con->prepare('UPDATE `users` SET `Warnings` = ? WHERE `id` = ?'); $q->execute(array(Config::getID('users','Warnings',$data->name)+1,Config::getID('users','id',$data->name))); } } if(isset($_POST['panelrestrict'])) { if(!$_POST['reason'] && !$_POST['duration']) echo '<div class="alert alert-danger">Ai lasat campuri necompletate.</div>'; else { echo '<div class="alert alert-success">Jucatorul a primit panel suspend cu succes.</div>'; if($_POST['duration'] == 0) { $permanentban = 1; $duration = 6578976578976; $days = 0; } else { $permanentban = 0; $duration = (time()+$_POST['duration']*86400); $days = $_POST['duration']; } $q = Config::$g_con->prepare('INSERT INTO `panel_restrict` ( `Permanent`, `Time`, `PlayerName`, `Days`, `AdminName`, `Reason` ) VALUES (?, ?, ?, ?, ?, ?)'); $q->execute(array( $permanentban, $duration, Config::getID('users','name',$data->name), $days, Config::getData('users','name',$_SESSION['user']), $_POST['reason'] )); } } if(isset($_POST['ban'])) { if(!$_POST['reason'] && !$_POST['duration']) echo '<div class="alert alert-danger">Ai lasat campuri necompletate.</div>'; else { echo '<div class="alert alert-success">Jucatorul a primit ban cu succes.</div>'; if($_POST['duration'] == 0) { $permanentban = 1; $duration = 0; } else { $permanentban = 0; $duration = $_POST['duration']; } $q = Config::$g_con->prepare('INSERT INTO `panelactions` (`actiontime`, `actionid`, `playerid`, `playername`, `giverid`, `givername`, `reason`) VALUES (?, ?, ?, ?, ?, ?, ?)'); $q->execute(array($duration,1,Config::getID('users','id',$data->name),Config::getID('users','name',$data->name),Config::getData('users','id',$_SESSION['user']),Config::getData('users','name',$_SESSION['user']),$_POST['reason'])); $q = Config::$g_con->prepare('INSERT INTO `bans` ( `BanTimeDate`, `IP`, `Active`, `Permanent`, `IPBan`, `Time`, `PlayerName`, `Days`, `AdminName`, `Reason` ) VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?)'); $q->execute(array( date("Y-m-d H:i:s"), Config::getID('users','IP',$data->name), 1, $permanentban, $_POST['banip'], (time()+$duration*86400), Config::getID('users','name',$data->name), $duration, Config::getData('users','name',$_SESSION['user']), $_POST['reason'] )); } } if(isset($_POST['jail'])) { if(!$_POST['reason'] || !$_POST['duration']) echo '<div class="alert alert-danger">Ai lasat campuri necompletate.</div>'; else { echo '<div class="alert alert-success">Jucatorul a primit jail cu succes.</div>'; if($_POST['duration']) { $duration = $_POST['duration']; } $q = Config::$g_con->prepare('INSERT INTO `panelactions` (`actiontime`, `actionid`, `playerid`, `playername`, `giverid`, `givername`, `reason`) VALUES (?, ?, ?, ?, ?, ?, ?)'); $q->execute(array($duration,3,Config::getData('users','id',$data->id),Config::getID('users','name',$data->name),Config::getData('users','id',$_SESSION['user']),Config::getData('users','name',$_SESSION['user']),$_POST['reason'])); $q = Config::$g_con->prepare('UPDATE `users` SET `Jailed` = ? AND `JailTime` = ? WHERE `id` = ?'); $q->execute(array(2,Config::getID('users','JailTime',$data->name)+$duration,Config::getID('users','id',$data->name))); } } if(isset($_POST['changeemail'])) { if(!$_POST['email']) echo '<div class="alert alert-danger">Ai lasat campuri necompletate.</div>'; else { echo '<div class="alert alert-success">Ai schimbat emailul jucatorului.</div>'; $q = Config::$g_con->prepare('DELETE FROM `changemail` WHERE `name` = ?'); $q->execute(array($data->name)); $q = Config::$g_con->prepare('UPDATE `users` SET `Email` = ? WHERE `name` = ?'); $q->execute(array($_POST['email'],$data->name)); } } if(isset($_POST['mute'])) { if(!$_POST['reason'] || !$_POST['duration']) echo '<div class="alert alert-danger">Ai lasat campuri necompletate.</div>'; else { echo '<div class="alert alert-success">Jucatorul a primit mute cu succes.</div>'; if($_POST['duration']) { $duration = $_POST['duration']; } $q = Config::$g_con->prepare('INSERT INTO `panelactions` (`actiontime`, `actionid`, `playerid`, `playername`, `giverid`, `givername`, `reason`) VALUES (?, ?, ?, ?, ?, ?, ?)'); $q->execute(array($duration,5,Config::getData('users','id',$data->id),Config::getID('users','name',$data->name),Config::getData('users','id',$_SESSION['user']),Config::getData('users','name',$_SESSION['user']),$_POST['reason'])); $q = Config::$g_con->prepare('UPDATE `users` SET `Muted` = ? AND `JailTime` = ? WHERE `id` = ?'); $q->execute(array(1,Config::getID('users','MuteTime',$data->name)+$duration,Config::getID('users','id',$data->name))); } } $q = Config::$g_con->prepare('SELECT * FROM `bans` WHERE `PlayerName` = ? AND `Active` = 1 LIMIT 1'); $q->execute(array($data->name)); if($q->rowCount()) while($row = $q->fetch(PDO::FETCH_OBJ)) { $date = $row->BanTimeDate; if($row->Permanent == 1) { $expira = "Contul este banat permanent (banul nu va expira automat)"; } else { $expira = "Banul expira pe data de <b>". gmdate("Y-m-d H:i:s", $row->Time) ."</b>"; } $numeadmin = $row->AdminName; $motiv = $row->Reason; echo " <div class='alert alert-danger'> <b>This account is banned.</b><br/><br/> Banat de: <b>$numeadmin</b> pe data de <b>$date</b>, motivul banului: <b>$motiv</b>.<br/> $expira.</div> "; } } ?> <div id="user-profile-2" class="user-profile row-fluid"> <div class="tabbable"> <div id="user-profile-2" class="user-profile row-fluid"> <div class="tabbable"> <ul class="nav nav-tabs padding-18"> <li class="active"> <a data-toggle="tab" href="#home"> <i class="green icon-user bigger-120"></i> Profile </a> </li> <li> <a data-toggle="tab" href="#feed"> <i class="orange icon-rss bigger-120"></i> Faction History </a> </li> <li> <a data-toggle="tab" href="#userbar"> <i class="red icon-user bigger-120"></i> Userbar </a> </li> <?php if(isset($_SESSION['user']) && Config::getData('users','Admin',$_SESSION['user']) >= 7) { ?> <li> <a data-toggle="tab" href="#admintools"> <i class="blue icon-user bigger-120"></i> Admin Tools </a> </li> <?php } if(isset($_SESSION['user']) && Config::getData('users','Admin',$_SESSION['user']) >= 1) { ?> <li> <a data-toggle="tab" href="#complaints"> <i class="blue icon-legal bigger-120"></i> Complaints </a> </li> <?php } ?> </ul> <div class="tab-content no-border padding-24"> <div id="feed" class="tab-pane"> <div class="profile-feed row-fluid"> <div class="span6"> <?php $s = Config::$g_con->prepare('SELECT * FROM `faction_logs` WHERE `player` = ? ORDER BY `id` DESC'); $s->execute(array(Config::getID('users','id',$data->name))); while($flog = $s->fetch(PDO::FETCH_OBJ)) { ?> <div class="profile-activity clearfix "> <div> <img class="pull-left" alt="<?php echo $data->name; ?>'s avatar" src="<?php echo Config::$_PAGE_URL; ?>assets/images/avatars/<?php echo Config::getID('users','Model',$data->name); ?>.png"/> <?php echo $flog->Text ?> <div class="time"> <i class="icon-time bigger-110"></i> <?php echo $flog->time ?> </div> </div> </div> <?php } ?> </div> </div> </div> <?php if(isset($_SESSION['user']) && Config::getData('users','Admin',$_SESSION['user']) >= 7) { ?> <div id="admintools" class="tab-pane"> <div class="col-sm-5"> <form method="POST" action="" disabled> <div class="col-sm-10"> Reason: <br/> <input name="reason" type="text" class="col-xs-10 col-sm-10" /> </div> <div class="col-sm-10"> <br />Time: <br/> <input name="duration" type="text" class="col-xs-10 col-sm-10" /><br /> </div> <div class="col-sm-10"> Time 0 pentru permanent (ban)<br /><br /> Tip:<br> <select name="banip" class="col-xs-10 col-sm-10"> <option value="0">Cont</option> <option value="1">IP</option> </select> </div></div> <div class="col-sm-10"><br /> <input type="submit" name="warn" class="btn btn-small btn-purple" value="warn"/> <?php $s = Config::$g_con->prepare('SELECT * FROM `bans` WHERE `PlayerName` = ? AND `Active` = 1'); $s->execute(array($data->name)); if($suspend = $s->fetch(PDO::FETCH_OBJ)) { ?> <input type="submit" name="unban" class="btn btn-small btn-success" value="unban"/> <?php } else { ?> <input type="submit" name="ban" class="btn btn-small btn-danger" value="ban"/> <?php } ?> <input type="submit" name="mute" class="btn btn-small btn-grey" value="mute"/> <input type="submit" name="jail" class="btn btn-small btn-pink" value="jail"/> <?php $s = Config::$g_con->prepare('SELECT * FROM `panel_restrict` WHERE `PlayerName` = ?'); $s->execute(array($data->name)); if($suspend = $s->fetch(PDO::FETCH_OBJ)) { ?> <input type="submit" name="deletepanelrestrict" class="btn btn-small btn-success" value="delete panel suspend"/> <?php } else { ?> <input type="submit" name="panelrestrict" class="btn btn-small btn-danger" value="panel suspend"/> <?php } ?> </form> <form method="POST" action="" disabled> <div class="col-sm-5"><br /> <div class="col-sm-10"> Email: <br/> <input name="email" type="text" class="col-xs-10 col-sm-10" /> </div></div> <div class="col-sm-10"><br /> <input type="submit" name="changeemail" class="btn btn-small btn-success" value="Schimba email"/> </div> </form> </div> </div> <?php } if(isset($_SESSION['user']) && Config::getData('users','Admin',$_SESSION['user']) >= 1) { ?> <div id="complaints" class="tab-pane"> <h4 class="blue"> <i class="icon-legal"></i> Complaints </h4> <table class="table table-striped table-condensed table-hover"> <thead> <tr> <th>Title</th> <th><i class="fa fa-clock-o"></i> Date</th> <th>Status</th> </tr> </thead> <tbody> <?php $q = Config::$g_con->prepare('SELECT * FROM `complaints` WHERE `playername` = ? ORDER BY `id` DESC'); $q->execute(array($data->name)); while($row = $q->fetch(PDO::FETCH_OBJ)) { if($row->reasoncomplaint == 1) { $reason = "Factiune"; } else if($row->reasoncomplaint == 2) { $reason = "DM"; } else if($row->reasoncomplaint == 3) { $reason = "Jigniri, injurii, limbaj vulgar"; } else if($row->reasoncomplaint == 4) { $reason = "Inselatorie"; } else if($row->reasoncomplaint == 5) { $reason = "Altceva (abuz, comportament non RP)"; } else if($row->reasoncomplaint == 6) { $reason = "Abuz admin/helper"; } else if($row->reasoncomplaint == 7) { $reason = "Greseli ca lider"; } echo "<tr> <td><a href='". Config::$_PAGE_URL ."complaint/". $row->id ."'>{$row->playername} - ". $reason ."</a></td> <td>{$row->time}</td> <td>" . ($row->status ? "Closed" : "Open") . "</td> </tr>"; } ?> </tbody> </table> </div> <?php } ?> <div id="userbar" class="tab-pane"> <div class="profile-feed row-fluid"> <div class="span12 center"> <h4 class="blue">Userbar</h4> <img src="<?php echo Config::$_PAGE_URL; ?>sig/signature.php?name=<?php echo $data->name; ?>" alt="userbar"></br></br> <b>Cod pentru forum xGaming:</b><br /><input type="text" style="width:250px" disabled value="[xGaming=<?php echo $data->name; ?>]" /> <br/><br/> <b>Cod HTML pentru alte site-uri:</b><br /><input type="text" style="width:250px" disabled value="[url=&quot;http://xGaming.ro&quot;][img]<?php echo Config::$_PAGE_URL; ?>sig/signature.php?name=<?php echo $data->name; ?>[/img][/url]" /> </div> </div> </div> <div id="home" class="tab-pane in active"> <div class="row-fluid"> <div class="span2 center"> <span class="profile-picture"> <img id="avatar2" src="<?php echo Config::$_PAGE_URL . 'assets/css/skins/' . $data->Model . '.png'; ?>" style="height:300px;"> </span> <div class="space space-4"></div> <div class="width-80 label label-inverse arrowed-in arrowed-in-right"> <div class="inline position-relative"> <?php echo (!$data->Status ? "<i class='icon-circle light-red middle'></i>" : "<i class='icon-circle light-green middle'></i>"); ?> &nbsp; <span class="white"><?php echo (!$data->Status ? "offline" : "online"); ?></span> </div> </div> <div class="space-4"></div> <?php if(isset($_SESSION['user']) && ($_SESSION['user'] != $user)) echo '<a class="btn btn-danger btn-small" href="'. Config::$_PAGE_URL .'createcomplaint/'. $data->id. '">Reclamă player</a>'; ?> <div class="space space-4"></div> </div><!--/span--><br /> <div class="span10"> <h4 class="blue"><span class="middle"><?php echo $data->name; ?></span></h4> <?php if(strpos($data->name, 'AloNe') !== false) { ?> <span class="label label-success arrowed-in-right"><i class="icon-shield white"></i> owner </span><br/> <span class="label label-pink arrowed-in-right"><i class="icon-gear white"></i> scripter </span><br/> <?php } else if($data->Admin >= 9) { ?> <span class="label label-success arrowed-in-right"><i class="icon-shield white"></i> owner </span><br/> <?php } else if($data->Admin < 9 && $data->Admin > 0 ) { ?> <span class="label label-success arrowed-in-right"><i class="icon-shield white"></i> admin </span><br/> <?php } else if($data->Helper > 0 ) { ?> <span class="label label-purple arrowed-in-right"><i class="icon-question-sign white"></i> helper</span><br/> <?php } if($data->Leader > 0) { ?> <span class="label label-purple arrowed-in-right"><i class="icon-group white"></i> faction leader</span><br/> <?php } if($data->Premium > 0) { ?> <span class="label label-yellow arrowed-in-right white"><i class="icon-star grey"></i> <font color="black">premium user</font></span><br/> <?php } if($data->Support == 1) { ?> <span class='label label-purple arrowed-in-right white'><i class='icon-comments white'></i> support</span><br/> <?php } if($data->CRank == 7) { ?> <span class="label label-danger arrowed-in-right"><i class="icon-group white"></i> <a href="<?php echo Config::$_PAGE_URL; ?>clan/<?php echo $data->Clan ?>" style="color: #FFF">clan owner</a></span><br/> <?php } if($data->Beta == 1) { ?> <span class='label label-purple arrowed-in-right white'><i class='icon-gear white'></i> beta tester </span><br/> <?php } ?> <?php $s = Config::$g_con->prepare('SELECT * FROM `panel_restrict` WHERE `PlayerName` = ? AND `Permanent` = 1'); $s->execute(array($data->name)); if($suspend1 = $s->fetch(PDO::FETCH_OBJ)) { ?> <span class="label label-golden arrowed-in-right"><i class="icon-frown white"></i> permanent suspended from panel</span><br/> <?php } $s = Config::$g_con->prepare('SELECT * FROM `panel_restrict` WHERE `PlayerName` = ? AND `Permanent` = 0'); $s->execute(array($data->name)); if($suspend = $s->fetch(PDO::FETCH_OBJ)) { ?> <span class="label label-golden arrowed-in-right"><i class="icon-frown white"></i> suspended from panel until <?php echo gmdate("Y-m-d H:i:s", $suspend->Time) ?></span><br/> <?php } ?> <div class="profile-user-info"> <div class="profile-info-row"> <div class="profile-info-name"> Faction </div> <div class="profile-info-value"> <?php echo Config::$factions[$data->Member] ?><?php if($data->Member >=1) { ?>, rank <?php echo $data->Rank; ?> <?php } ?> </div> </div> <?php if($data->Clan > 0) { $s = Config::$g_con->prepare('SELECT * FROM `clans` WHERE `clanID` = ?'); $s->execute(array($data->Clan)); while($clan = $s->fetch(PDO::FETCH_OBJ)) { ?> <div class="profile-info-row"> <div class="profile-info-name"> Clan </div> <div class="profile-info-value"> <span><?php echo $clan->clanName; ?> <a href="<?php echo Config::$_PAGE_URL; ?>clan/<?php echo $clan->clanID; ?>"><i class="icon-external-link"></i></a>, rank <?php echo $data->CRank; ?></span> </div> </div> <?php } } ?> <div class="profile-info-row"> <div class="profile-info-name"> Level </div> <div class="profile-info-value"> <?php echo $data->Level; ?> </div> </div> <?php if(isset($_SESSION['user']) && ($data->name) == Config::getData('users','name',$_SESSION['user'])) { ?> <div class="profile-info-row"> <div class="profile-info-name"> Money </div> <div class="profile-info-value"> $<?php echo number_format($data->Money,0,'.','.') ?> / $<?php echo number_format($data->Bank,0,'.','.') ?> </div> </div> <?php } if(isset($_SESSION['user'])&& ($data->name) != Config::getData('users','name',$_SESSION['user']) && Config::getData('users','Admin',$_SESSION['user']) > 5) { ?> <div class="profile-info-row"> <div class="profile-info-name"> Money </div> <div class="profile-info-value"> $<?php echo number_format($data->Money,0,'.','.') ?> / $<?php echo number_format($data->Bank,0,'.','.') ?> </div> </div> <?php } ?> <div class="profile-info-row"> <div class="profile-info-name"> Playing hours </div> <div class="profile-info-value"> <?php echo $data->ConnectedTime; ?> </div> </div> <div class="profile-info-row"> <div class="profile-info-name"> Phone </div> <div class="profile-info-value"> <?php echo $data->PhoneNr; ?> </div> </div> <div class="profile-info-row"> <div class="profile-info-name"> Joined </div> <div class="profile-info-value"> <?php echo $data->RegisterDate ?> </div> </div> <div class="profile-info-row"> <div class="profile-info-name"> Last online </div> <div class="profile-info-value"> <?php echo $data->lastOn; ?></div> </div> <div class="profile-info-row"> <div class="profile-info-name"> Materials </div> <div class="profile-info-value"> <?php echo $data->Materials; ?> </div> </div> <?php if(isset($_SESSION['user']) && ($data->name) == Config::getData('users','name',$_SESSION['user'])) { ?> <div class="profile-info-row"> <div class="profile-info-name"> Premium </div> <div class="profile-info-value"> <?php echo (!$data->Premium ? "No ($data->PremiumPoints premium points)" : "Yes ($data->PremiumPoints premium points)"); ?> <a href='<?php echo Config::$_PAGE_URL; ?>premium'><i class='btn btn-xs no-hover btn-success icon-plus'></i></a> </div> </div> <?php } if(isset($_SESSION['user'])&& ($data->name) != Config::getData('users','name',$_SESSION['user']) && Config::getData('users','Admin',$_SESSION['user']) > 5) { ?> <div class="profile-info-row"> <div class="profile-info-name"> Premium </div> <div class="profile-info-value"> <?php echo (!$data->Premium ? "No ($data->PremiumPoints premium points)" : "Yes ($data->PremiumPoints premium points)"); ?> </div> </div> <?php } if(isset($_SESSION['user']) && ($data->name) == Config::getData('users','name',$_SESSION['user'])) { ?> <div class="profile-info-row"> <div class="profile-info-name"> Email </div> <div class="profile-info-value"> <?php if($data->Email == "email@yahoo.com") { echo "(UNCONFIRMED)"; } else echo $data->Email; ?> <a href="<?php echo Config::$_PAGE_URL; ?>changemail"><i class="ace-icon fa fa-edit"></i></a> </div> </div> <?php } if(isset($_SESSION['user'])&& ($data->name) != Config::getData('users','name',$_SESSION['user']) && Config::getData('users','Admin',$_SESSION['user']) > 5) { ?> <div class="profile-info-row"> <div class="profile-info-name"> Email </div> <div class="profile-info-value"> <?php if($data->Email == "email@yahoo.com") { echo "(UNCONFIRMED)"; } else echo $data->Email; ?> </div> </div> <?php } ?> <div class="profile-info-row"> <div class="profile-info-name"> Warnings </div> <div class="profile-info-value"> <?php echo $data->Warnings; ?>/3</div> </div> <div class="profile-info-row"> <div class="profile-info-name"> Faction warns </div> <div class="profile-info-value"> <?php echo $data->FWarn; ?>/3</div> </div> <div class="profile-info-row"> <div class="profile-info-name"> Faction punish </div> <div class="profile-info-value"> <?php echo $data->FPunish; ?>/20</div> </div> <div class="profile-info-row"> <div class="profile-info-name"> Job </div> <div class="profile-info-value"> <?php echo Config::$jobs[$data->Job]; ?> </div> </div> </div> </div> <div class="clear"></div> <div class="space-20"></div> <div class="row-fluid"> <div class="span8"> <div class="widget-box transparent"> <div class="widget-header widget-header-small"> <h4 class="smaller"> <i class="icon-truck bigger-110"></i> Personal vehicles </h4> </div> <div class="widget-body"> <div class="widget-main"> <?php $q = Config::$g_con->prepare('SELECT * FROM `cars` WHERE `Owner` = ?'); $q->execute(array($data->name)); if(!$q->rowCount()) { if(!isset($_SESSION['user'])) echo '<p>This user has no vehicles.</p>'; else if(isset($_SESSION['user']) && ($_SESSION['user'] === $user)) echo '<p>You have no vehicles.</p>'; else echo '<p>This user has no vehicles.</p>'; } else { echo ' <table class="table table-striped"> <thead> <tr> <th>Image</th> <th class="hidden-480">Vehicle Name</th> <th class="hidden-100">Info</th> <th class="center">GPS</th> </tr> </thead> <tbody>'; $s = Config::$g_con->prepare('SELECT * FROM `cars` WHERE `Owner` = ?'); $s->execute(array($data->name)); while($car = $s->fetch(PDO::FETCH_OBJ)) { ?> <tr> <td class="center"> <img src="<?php echo Config::$_PAGE_URL ?>assets/images/vehicles/Vehicle_<?php echo $car->Model ?>.jpg" alt="490" style="height: 65px"/> </td> <td> <?php echo Config::$namevehicles[$car->Model]; ?> </td> <td> Odometter: <b><?php echo number_format($car->KM,0,'.','.') ?> km</b><br> Colors: <span style="color: <?php echo Config::$vehColors[$car->ColorOne] ?>; font-weight: bold;"><?php echo $car->ColorOne ?></span>, <span style="color: <?php echo Config::$vehColors[$car->ColorTwo] ?>; font-weight: bold;"><?php echo $car->ColorTwo ?></span><br> Age: <b><?php echo $car->days; ?> days</b><br> </td> <td> <a href="<?php echo Config::$_PAGE_URL ?>map?x=<?php echo $car->Locationx ?>&y=<?php echo $car->Locationy ?>"><i class="icon-map-marker"></i> display on map</a> </td> </tr> <?php } echo ' </tbody> </table>'; } ?> </div> </div> </div> </div> <div class="span2"> <div class="widget-box transparent"> <div class="widget-header widget-header-small"> <h4 class="smaller"> <i class="icon-home bigger-110"></i> House </h4> </div> <div class="widget-body"> <div class="widget-main"> <?php if($data->House == 999) { if(!isset($_SESSION['user'])) echo '<p>This user doesn\'t have a house.</p>'; else if(isset($_SESSION['user']) && ($_SESSION['user'] === $user)) echo '<p>You don\'t have a house.</p>'; else echo '<p>This user doesn\'t have a house.</p>'; } else { $s = Config::$g_con->prepare('SELECT * FROM `houses` WHERE `Owner` = ?'); $s->execute(array($data->name)); while($house = $s->fetch(PDO::FETCH_OBJ)) { ?> House ID: <b><?php echo $house->ID ?></b><br /> Rent: <b>$<?php echo number_format($house->Rent,0,'.','.') ?></b> <p>Price: <b><?php if($house->Owned==0) { ?>$<?php echo number_format($row->Value,0,'.','.') ?><?php }?> <?php if($house->Owned==1) { ?>Not for sale<?php }?></b><br /> <!--Interior size: --> <a href='<?php echo Config::$_PAGE_URL; ?>map?x=<?php echo $house->Entrancex ?>&y=<?php echo $house->Entrancey ?>' target='_blank'><i class='icon-map-marker'></i> display on map</a> <?php } } ?> </div> </div> </div> </div> <div class="span2"> <div class="widget-box transparent"> <div class="widget-header widget-header-small"> <h4 class="smaller"> <i class="icon-bitcoin bigger-110"></i> Business </h4> </div> <div class="widget-body"> <div class="widget-main"> <?php if($data->Bizz == 999 || $data->Bizz == 255) { if(!isset($_SESSION['user'])) echo '<p>This user doesn\'t have a business.</p>'; else if(isset($_SESSION['user']) && ($_SESSION['user'] === $user)) echo '<p>You don\'t have a business.</p>'; else echo '<p>This user doesn\'t have a business.</p>'; } else { $s = Config::$g_con->prepare('SELECT * FROM `bizz` WHERE `Owner` = ?'); $s->execute(array($data->name)); while($bizz = $s->fetch(PDO::FETCH_OBJ)) { ?> Business ID: <b><?php echo $bizz->ID ?></b><br /> Biz fee: <b>$<?php echo number_format($bizz->EntranceCost,0,'.','.') ?></b><br /> Price: <b>$<?php echo number_format($bizz->BuyPrice,0,'.','.') ?></b><br /> <a href='<?php echo Config::$_PAGE_URL; ?>map?x=<?php echo $bizz->EntranceX ?>&y=<?php echo $bizz->EntranceY ?>' target='_blank'><i class='icon-map-marker'></i> display on map</a> <?php } } ?> </div> </div> </div> </div> </div> </div> </div> </div> </div>
  3. Nume: Aldor Vârstă: 19 ani. Servicii oferite: WebDevelopers. Experienţă în domeniu: Detin experienta in php,css,photoshop,webdesign de aproximativ 4 ani, am lucrat la proiecte bunicele pot spune eu si vreau sa ajut o comunitate. Preţ: O fac din placere si pentru ajutor. Alte detalii: Eu nu ma mai joc SAMP dar vreau sa ajut o comunitate cu resursele pe care le am deja, modific tot dupa bunul plac si revin cu update-uri la el pentru acea comunitate. Cei interesati va rog contact la skype: leuca.oficial