Jump to content

Exaton

Membru
  • Posts

    287
  • Joined

  • Last visited

  • Days Won

    2

Everything posted by Exaton

  1. a la plunings pun acum mersi mult
  2. salut droom eu tot am pus pe gm tot si in include si pwn dar se compileaza bine nu da error sau warning dar dupa nu mrg sa dau samp-server imi da 0 vehicles dc?
  3. gata am dat +1 ms mult inca o data
  4. acum nu da error si cand intru pe localhost arata ca mereu daca iar vor disparea iti voi da pm ms mult de ajutor
  5. new HouseInfo[MAX_HOUSES][hInfo],
  6. C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17326) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17327) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17328) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17329) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17330) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17331) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17332) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17335) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17336) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17337) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17338) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17339) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17340) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17341) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17342) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17343) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17344) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17345) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17346) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17347) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17350) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17351) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17352) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17353) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17354) : error 033: array must be indexed (variable "HouseInfo") C:\Users\User\Desktop\exaton\gamemodes\test2\gamemodes\ExtremeGame.pwn(17355) : error 033: array must be indexed (variable "HouseInfo") Compilation aborted.Pawn compiler 3.2.3664 Copyright (c) 1997-2006, ITB CompuPhase 26 Errors.
  7. deci mai ma ajuta cineva cu problema?
  8. rror 033: array must be indexed (variable "HouseInfo")
  9. public LoadProperty() { housess = cache_num_rows(); for(new i = 1; i <= housess; i++) { new h = i - 1; HouseInfo[hID] = cache_get_field_content_int(h, "ID"); HouseInfo[hEntrancex] = cache_get_field_content_float(h, "Entrancex"); HouseInfo[hEntrancey] = cache_get_field_content_float(h, "Entrancey"); HouseInfo[hEntrancez] = cache_get_field_content_float(h, "Entrancez"); HouseInfo[hExitx] = cache_get_field_content_float(h, "Exitx"); HouseInfo[hExity] = cache_get_field_content_float(h, "Exity"); HouseInfo[hExitz] = cache_get_field_content_float(h, "Exitz"); cache_get_field_content(h, "Owner", HouseInfo[hOwner], SQL, 130); cache_get_field_content(h, "Discription", HouseInfo[hDiscription], SQL, 130); HouseInfo[hValue] = cache_get_field_content_int(h, "Value"); HouseInfo[hPrice] = cache_get_field_content_int(h, "Prices"); HouseInfo[hHel] = cache_get_field_content_int(h, "Hel"); HouseInfo[hMusic] = cache_get_field_content_int(h, "Music"); HouseInfo[hInterior] = cache_get_field_content_int(h, "Interior"); HouseInfo[hInteriorType] = cache_get_field_content_int(h, "InteriorType"); HouseInfo[hLock] = cache_get_field_content_int(h, "Lockk"); HouseInfo[hOwned] = cache_get_field_content_int(h, "Owned"); HouseInfo[hRent] = cache_get_field_content_int(h, "Rent"); HouseInfo[hRentabil] = cache_get_field_content_int(h, "Rentabil"); HouseInfo[hTakings] = cache_get_field_content_int(h, "Takings"); HouseInfo[hLevel] = cache_get_field_content_int(h, "Level"); HouseInfo[hVirtual] = cache_get_field_content_int(h, "Virtual"); /*Incep garajele*/ HouseInfo[gExtX] = cache_get_field_content_float(h, "gExtX"); HouseInfo[gExtY] = cache_get_field_content_float(h, "gExtY"); HouseInfo[gExtZ] = cache_get_field_content_float(h, "gExtZ"); HouseInfo[gAngel] = cache_get_field_content_float(h, "gAngel"); HouseInfo[hgaraj] = cache_get_field_content_int(h, "garaj"); HouseInfo[gSlot] = cache_get_field_content_int(h, "gSlot"); } for(new i = 1; i <= housess; i++) { OnPropTextdrawUpdate(1, i); } printf("[LOADING] %d houses loaded.", housess); printf("[LOADING] %d turfs loaded.", turfsss); }
  10. si nu mereu nu arat dar uneori nu arata cam la fiecare ora dispare si cand dau rr apare la loc
  11. crates by dennis12 e un system de crates ca pe b-zone nu e gm
  12. public OnPropTextdrawUpdate(update, h) { new PropertyString[512]; if(update == 1) { new type[10],locked[20]; if(HouseInfo[h][hInteriorType] == 0) format(type, sizeof(type),"Small"); if(HouseInfo[h][hInteriorType] == 1) format(type, sizeof(type),"Medium"); if(HouseInfo[h][hInteriorType] == 2) format(type, sizeof(type),"Big"); if(HouseInfo[h][hLock] == 1) format(locked, sizeof(locked), "\n(locked)"); HouseIcon[h] = CreateDynamicMapIcon(HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 31, -1, 0, 0, -1, 50.0); if(HouseInfo[h][hOwned] == 0) { DestroyDynamic3DTextLabel(HouseLabel[h]); format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {008080}%d \n{008080}%s \n{FFFFFF}Size: {008080}%s \n{FFFFFF}Price: {008080}$%s (/buyhouse) \n{FFFFFF}Level: {008080}%d %s",h,HouseInfo[h][hDiscription],type,FormatNumber(HouseInfo[h][hValue]),HouseInfo[h][hLevel],locked); HouseLabel[h] = CreateDynamic3DTextLabel(PropertyString, 0xFFFFFFFF, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0); DestroyDynamicPickup(HousePickup[h]); HousePickup[h] = CreateDynamicPickup(1273, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); } else if(HouseInfo[h][hOwned] == 1) { new tenants=0,query[256],selltext[64]; format(query, sizeof(query), "SELECT * FROM `users` WHERE `Rented` = '%d' AND `Status`='1'", h); new Cache: membresult = mysql_query(SQL, query); for(new i, j = cache_get_row_count (); i != j; ++i) { tenants++; } cache_delete(membresult); if(HouseInfo[h][hPrice] > 0) { format(selltext, sizeof(selltext),"\n{FFFFFF}Price: {008080}$%s (/buyhouse)",FormatNumber(HouseInfo[h][hPrice])); } if(HouseInfo[h][hRentabil] == 1) { DestroyDynamic3DTextLabel(HouseLabel[h]); format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {008080}%d \n{008080}%s \n{FFFFFF}Owner: {008080}%s \n{FFFFFF}Tenants: {008080}%d \n{FFFFFF}Size: {008080}%s \n{FFFFFF}Rent: {008080}$%d (/rentroom) %s %s",h,HouseInfo[h][hDiscription],HouseInfo[h][hOwner],tenants,type,HouseInfo[h][hRent],selltext,locked); HouseLabel[h] = CreateDynamic3DTextLabel(PropertyString, 0xFFFFFFFF, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0); DestroyDynamicPickup(HousePickup[h]); HousePickup[h] = CreateDynamicPickup(1272, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); } else { DestroyDynamic3DTextLabel(HouseLabel[h]); format(PropertyString, sizeof(PropertyString),"{FFFFFF}House {008080}%d \n{008080}%s \n{FFFFFF}Owner: {008080}%s \n{FFFFFF}Tenants: {008080}%d \n{FFFFFF}Size: {008080}%s %s %s",h,HouseInfo[h][hDiscription],HouseInfo[h][hOwner], tenants, type, selltext, locked); HouseLabel[h] = CreateDynamic3DTextLabel(PropertyString, 0xFFFFFFFF, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez], 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0); DestroyDynamicPickup(HousePickup[h]); HousePickup[h] = CreateDynamicPickup(1272, 23, HouseInfo[h][hEntrancex], HouseInfo[h][hEntrancey], HouseInfo[h][hEntrancez]); } } if(HouseInfo[h][hgaraj] == 1) { new label[256]; DestroyDynamic3DTextLabel(GarajeLabel[h]); format(label, sizeof(label), "{FFFFFF}Garage {008080}%d\n{FFFFFF}Owner: {008080}%s\n{FFFFFF}To enter type {008080}/garage",h, HouseInfo[h][hOwner],HouseInfo[h]); GarajeLabel[h] = CreateDynamic3DTextLabel(label, 0xFFFFFFFF, HouseInfo[h][gExtX], HouseInfo[h][gExtY], HouseInfo[h][gExtZ], 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0); DestroyDynamicPickup(GarajePickup[h]); GarajePickup[h] = CreateDynamicPickup(19133, 1, HouseInfo[h][gExtX], HouseInfo[h][gExtY], HouseInfo[h][gExtZ]); } } else if(update == 2) { if(BizzInfo[h][bOwned] == 0) { DestroyDynamic3DTextLabel(BizzLabel[h]); if(BizzInfo[h][bLocked] == 0) format(PropertyString, sizeof(PropertyString),"{0068CF}%s \n{EEEEEE}Business {0068CF}#%d \n {EEEEEE}Price: {0068CF}$%s (/buybusiness) \n{EEEEEE}Level: {0068CF}%d",BizzInfo[h][bMessage],h,FormatNumber(BizzInfo[h][bBuyPrice]),BizzInfo[h][bLevelNeeded]); else format(PropertyString, sizeof(PropertyString),"{0068CF}%s \n{EEEEEE}Business {0068CF}#%d \n {EEEEEE}Price: {0068CF}$%s (/buybusiness) \n{EEEEEE}Level: {0068CF}%d \n(locked)",BizzInfo[h][bMessage],h,FormatNumber(BizzInfo[h][bBuyPrice]),BizzInfo[h][bLevelNeeded]); BizzLabel[h] = CreateDynamic3DTextLabel(PropertyString, 0xFFFFFFFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0); } else if(BizzInfo[h][bOwned] == 1) { DestroyDynamic3DTextLabel(BizzLabel[h]); if(BizzInfo[h][bPrice] > 0) { if(BizzInfo[h][bLocked] == 0) format(PropertyString, sizeof(PropertyString),"{0068CF}%s \n{EEEEEE}Business {0068CF}#%d \n{EEEEEE}Owner: {0068CF}%s \n{EEEEEE}Fee: {0068CF}$%s \n{EEEEEE}Price: {0068CF}$%s (/buybusiness)",BizzInfo[h][bMessage],h,BizzInfo[h][bOwner],FormatNumber(BizzInfo[h][bEntranceCost]), FormatNumber(BizzInfo[h][bPrice])); else format(PropertyString, sizeof(PropertyString),"{0068CF}%s \n{EEEEEE}Business {0068CF}#%d \n{EEEEEE}Owner: {0068CF}%s \n{EEEEEE}Fee: {0068CF}$%s \n{EEEEEE}Price: {0068CF}$%s (/buybusiness) \n(locked)",BizzInfo[h][bMessage],h,BizzInfo[h][bOwner],FormatNumber(BizzInfo[h][bEntranceCost]), FormatNumber(BizzInfo[h][bPrice])); } else { if(BizzInfo[h][bLocked] == 0) format(PropertyString, sizeof(PropertyString),"{0068CF}%s \n{EEEEEE}Business {0068CF}#%d \n{EEEEEE}Owner: {0068CF}%s \n{EEEEEE}Fee: {0068CF}$%s",BizzInfo[h][bMessage],h,BizzInfo[h][bOwner],FormatNumber(BizzInfo[h][bEntranceCost])); else format(PropertyString, sizeof(PropertyString),"{0068CF}%s \n{EEEEEE}Business {0068CF}#%d \n{EEEEEE}Owner: {0068CF}%s \n{EEEEEE}Fee: {0068CF}$%s \n(locked)",BizzInfo[h][bMessage],h,BizzInfo[h][bOwner],FormatNumber(BizzInfo[h][bEntranceCost])); } BizzLabel[h] = CreateDynamic3DTextLabel(PropertyString, 0xFFFFFFFF, BizzInfo[h][bEntranceX], BizzInfo[h][bEntranceY], BizzInfo[h][bEntranceZ], 20.0, INVALID_PLAYER_ID, INVALID_VEHICLE_ID, 0, -1, -1, -1, 100.0); } } return 1; }
  13. Salutare am o problema la textele de la case bizuri si garage depe gamemodeul Galaxy-Arena la id 0 nu apare la id 1 -2 etc arata dar id 0 nu arata, inainte cand dadeam rr la sv aparea dar acum nici dupa rr cum pot rezolva help plz
  14. ma ajutat miritaxd mersi oricum
  15. la panelul tau mrg tot bn dar la acest nu mrg
  16. mirita respet dar am o prob la gamemodeul tau cand bubui masina nu imi creste ins da doar ma pune sa platest 5000 k dar nu creste insul dc ?
  17. mai am o prob cand dau sa app la o factiune imi zice ca am o app dar de fapt nu am nici una dc? si mai am o factiune nou SFPD si imi mai da si aceste errori la ia dar la lini nu vad nimic gresit Aplică pentru San Fierro Police Departament Poti avea o singura aplicatie deschisa. Daca aplici la aceasta factiune, nu vei putea aplica la o alta factiune pana aplicatia nu este respinsa sau iti stergi aplicatia. Fatal error: Uncaught PDOException: SQLSTATE[42S22]: Column not found: 1054 Unknown column 'q1' in 'field list' in C:\xampp\htdocs\panel\inc\Config.class.php:310 Stack trace: #0 C:\xampp\htdocs\panel\inc\Config.class.php(310): PDO->prepare('SELECT `q1` FRO...') #1 C:\xampp\htdocs\panel\inc\pages\apply.p.php(162): Config::getData('factions', 'q1', 15) #2 C:\xampp\htdocs\panel\inc\Config.class.php(89): include('C:\\xampp\\htdocs...') #3 C:\xampp\htdocs\panel\index.php(9): Config::getContent() #4 {main} thrown in C:\xampp\htdocs\panel\inc\Config.class.php on line 310
  18. daca le va avea voi incerca sa le repar ca nu e nici un panel bun pe net
  19. pai unde ca nu e ?php if(!defined('panel')) die('Nope.'); ?> <?php $registered = Config::rows('users'); $houses = Config::rows('houses'); $cars = Config::rows('cars'); $businesses = Config::rows('bizz'); if(isset($_SESSION['user']) && Config::getData('users', 'Admin', $_SESSION['user'])) { if(isset($_POST['addninfo'])) { $q = Config::$g_con->prepare('INSERT INTO `updates` (`text`, `byAdmin`, `For`) VALUES (?, ?, ?)'); $q->execute(array($_POST['ninfo'],Config::getData('users','name',$_SESSION['user']),1)); } if(isset($_POST['addsupdate'])) { $q = Config::$g_con->prepare('INSERT INTO `updates` (`text`, `byAdmin`, `For`) VALUES (?, ?, ?)'); $q->execute(array($_POST['supdate'],Config::getData('users','name',$_SESSION['user']),0)); } } ?> </div> <div class="main-content"> <div class="main-content-inner"> <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">Homepage</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"> <div class="span8"> <title><?php echo Config::$_SITE_NAME; ?> - User Panel</title> <?php if(isset($_SESSION['user'])) { $q = Config::$g_con->prepare("SELECT * FROM `bans` WHERE `PlayerName`=:name AND `Active` = 1"); $q->execute(array(":name" => Config::getData('users', 'name', $_SESSION['user']))); while($row = $q->fetch(PDO::FETCH_OBJ)) { ?> <div class="alert alert-danger"> <b>Contul tau este banat!</b><br/><br/> Banat de: <b><?php echo $row->AdminName ?></b> pe data de <b><?php echo $row->BanTimeDate ?></b>, motivul banului: <b><?php echo $row->Reason ?></b>.<br/> Banul expira pe data de <b>permanent</b>.<br/><br/> Poti plati <b>50 puncte premium</b> pentru a fi debanat (automat). Tu ai <b><?php echo $data->PremiumPoints ?> puncte premium</b>.<br/> <?php if($data->PremiumPoints < 50) { ?>Nu ai suficiente puncte premium in cont pentru a dona pentru unban. <a href="<?php echo Config::$_PAGE_URL; ?>premium"><font color="blue">click aici</font></a> a adauga mai multe puncte premium in contul tau.<?php } else {?>Ai suficiente puncte premium pentru a-ti plati banul. <?php } ?> <br><br>Daca consideri ca ai fost sanctionat in mod gresit, poti crea o cerere de unban <a href='<?php echo Config::$_PAGE_URL; ?>unban'><font color="blue">aici</font></a><br>Daca ai folosit cheat-uri, nu te obosi sa faci cerere de unban. Cheaterii nu sunt debanati.<br>De asemenea, nu te obosi sa zici ca a fost altcineva pe contul tau. Tu trebuie sa ai grija de contul tau si tu esti responsabil de ceea ce se intampla cu contul tau.<br><br>Daca ai fost banat pentru autoclicker, asta inseamna ca ai folosit un program pentru a te tine online in joc sau ai pus un obiect pe o tasta pentru a face caracterul sa mearga in fata in joc. 99% din playerii care fac cerere de unban pentru autoclicker nu sunt debanati.<br/><br/> </div> <?php } } if(isset($_SESSION['user']) && Config::getData('users','Email',$_SESSION['user']) == "[email protected]") { ?> <div class="alert alert-block alert-info"> <button type="button" class="close" data-dismiss="alert"> <i class="icon-remove"></i> </button> <p> <strong> <i class="icon-frown"></i> Seteaz&#259; adresa de Email <br> </strong> Nu ai o adres&#259; de email setat&#259; pe contul t&#259;u.<br>Setarea unei adrese de email te ajut&#259; &#238;n cazul &#238;n care &#238;&#355;i e spart contul.<br>F&#259;r&#259; o adres&#259; de email setat&#259;, nu &#238;&#355;i vei putea recupera contul dac&#259; acesta este spart.<br>Click pe butonul de mai jos pentru a seta o adres&#259; de email! </p> <p><a class="btn btn-sm btn-success" href="changemail">Seteaz&#259; adresa de Email</a></p> </div> <?php } ?> <div class="infobox-container"> <?php $q = Config::$g_con->prepare("SELECT * FROM `users` WHERE `Status` > 0"); $q->execute(); ?> <div class="infobox infobox-green"> <div class="infobox-icon"> <i class="ace-icon fa fa-user"></i> </div> <div class="infobox-data"> <span class="infobox-data-number"><?php echo $q->RowCount() ?></span> <div class="infobox-content"><a href="<?php echo Config::$_PAGE_URL; ?>online">jucatori conectati</a></div> </div> </div> <?php $q = Config::$g_con->prepare("SELECT * FROM `users` WHERE `OnlineToday` = 1"); $q->execute(); ?> <div class="infobox infobox-blue"> <div class="infobox-icon"> <i class="ace-icon fa fa-user"></i> </div> <div class="infobox-data"> <span class="infobox-data-number"><?php echo number_format($q->RowCount(),0,',',',') ?></span> <div class="infobox-content">conectati astazi</div> </div> </div> <?php $qlw = Config::$g_con->prepare("SELECT * FROM `users` WHERE `OnlineLastWeek` = 1"); $qlw->execute(); ?> <div class="infobox infobox-blue"> <div class="infobox-icon"> <i class="ace-icon fa fa-user green"></i> </div> <div class="infobox-data"> <span class="infobox-data-number"><?php echo number_format($qlw->RowCount(),0,',',',') ?></span> <div class="infobox-content">conectati sapt. trecuta</div> </div> </div> <div class="infobox infobox-pink "> <div class="infobox-icon"> <i class="ace-icon fa fa-user"></i> </div> <div class="infobox-data"> <span class="infobox-data-number"><?php echo number_format($registered,0,',',',') ?></span> <div class="infobox-content">jucatori inregistrati</div> </div> </div> <div class="infobox infobox-red "> <div class="infobox-icon"> <i class="ace-icon fa fa-truck"></i> </div> <div class="infobox-data"> <span class="infobox-data-number"><?php echo number_format($cars,0,',',',') ?></span> <div class="infobox-content">vehicule personale</div> </div> </div> <div class="infobox infobox-orange "> <div class="infobox-icon"> <i class="ace-icon fa fa-home"></i> </div> <div class="infobox-data"> <span class="infobox-data-number"><?php echo $houses; ?></span> <div class="infobox-content">case</div> </div> </div> <div class="infobox infobox-purple "> <div class="infobox-icon"> <i class="ace-icon fa fa-glass"></i> </div> <div class="infobox-data"> <span class="infobox-data-number"><?php echo $businesses; ?></span> <div class="infobox-content">afaceri</div> </div> </div> </div> <br /> <?php if(isset($_SESSION['user']) && Config::getData('users','Admin',$_SESSION['user']) >= 6) { $q = Config::$g_con->prepare('SELECT * FROM `complaints` WHERE `playername` = ? AND `status` = 0'); $q->execute(array($data->name)); while($row = $q->fetch(PDO::FETCH_OBJ)) { ?> <h4 class="blue"> <i class="icon-legal"></i> Complaints against you </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` = ? AND `status` = 0 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> <?php } ?> <div class="row-fluid"> <div class="span6"> <div class="widget-box "> <div class="widget-header widget-header-flat"> <h5> <i class="icon-legal"></i> Status reclamatii </h5> </div> <div class="widget-body"> <div class="widget-main"> <div class="clearfix"> <div class="box-body box box-solid"> <?php $q = Config::$g_con->prepare("SELECT * FROM `complaints` WHERE `status` = 0 AND `reasoncomplaint` = 3"); $q->execute(); ?> <p>Reclamatii normale: <a href="<?php echo Config::$_PAGE_URL; ?>complaints"><?php echo $q->rowCount(); ?></a></p> <?php $q = Config::$g_con->prepare("SELECT * FROM `complaints` WHERE `status` = 0 AND `reasoncomplaint` = 4"); $q->execute(); ?> <p>Reclamatii inselatorii: <a href="<?php echo Config::$_PAGE_URL; ?>complaints"><?php echo $q->rowCount(); ?></a></p> <?php $q = Config::$g_con->prepare("SELECT * FROM `complaints` WHERE `status` = 0 AND `reasoncomplaint` = 7"); $q->execute(); ?> <p>Reclamatii lideri: <a href="<?php echo Config::$_PAGE_URL; ?>complaints"><?php echo $q->rowCount(); ?></a></p> <?php $q = Config::$g_con->prepare("SELECT * FROM `complaints` WHERE `status` = 0 AND `reasoncomplaint` = 6"); $q->execute(); ?> <p>Reclamatii staff: <a href="<?php echo Config::$_PAGE_URL; ?>complaints"><?php echo $q->rowCount(); ?></a></p> </div> </div> </div> </div> </div> </div> <div class="span6"> <div class="widget-box "> <div class="widget-header widget-header-flat"> <h5> <i class="icon-ticket"></i> Status tickete </h5> </div> <div class="widget-body"> <div class="widget-main"> <div class="clearfix"> <div class="box-body box box-solid"> <?php $q = Config::$g_con->prepare("SELECT * FROM `tickets` WHERE `status` = 0 AND `type` = 0"); $q->execute(); ?> <p>General: <a href="<?php echo Config::$_PAGE_URL; ?>tickets"><?php echo $q->rowCount(); ?></a></p> <?php $q = Config::$g_con->prepare("SELECT * FROM `tickets` WHERE `status` = 0 AND `type` = 1"); $q->execute(); ?> <p>Donatii: <a href="<?php echo Config::$_PAGE_URL; ?>tickets"><?php echo $q->rowCount(); ?></a></p> <hr /> <?php if(Config::getData('users','Admin',$_SESSION['user']) >= 8) { $q = Config::$g_con->prepare("SELECT * FROM `donations` WHERE `donateStatus` = 0"); $q->execute(); ?> <p>Donatii in asteptare: <a href="<?php echo Config::$_PAGE_URL; ?>donations"><?php echo $q->rowCount(); ?></a></p> <?php } ?> </div> </div> </div> </div> </div> </div> </div> <?php } ?> <div class="widget-box "> <div class="widget-header widget-header-flat"> <h5> <i class="icon-rss orange"></i> Ultimele actiuni </h5> </div> <div class="widget-body"> <div class="widget-main no-padding"> <div class="dialogs"> <?php $q = Config::$g_con->prepare('SELECT * FROM `faction_logs` ORDER BY `id` DESC Limit 10'); $q->execute(); while($row = $q->fetch(PDO::FETCH_OBJ)) { $value = $row->Text; $tokens = explode(" ", $value); //echo str_replace($tokens[0],"<a href='".Config::$_PAGE_URL."profile/".Config::getID('users','name',$tokens[0])."'>".$tokens[0]."</a>",$row->Text); $qr = Config::$g_con->prepare('SELECT `Model` FROM `users` WHERE `name` = ?'); $qr->execute(array($tokens[0])); ?> <div class="itemdiv dialogdiv"> <div class="user"> <img src="<?php echo Config::$_PAGE_URL; ?>assets/images/avatars/<?php echo Config::getID("users","Model",$tokens[0]); ?>.png"/> </div> <div class="body"> <div class="time"> <i class="icon-time"></i> <span class="green"> <?php echo $row->time; ?> </span> </div> <div class="text"><p> <?php echo str_replace($tokens[0],"<a href='".Config::$_PAGE_URL."profile/".Config::getID('users','name',$tokens[0])."'>".$tokens[0]."</a>",$row->Text); ?> </div> </div> </div> <?php } ?> </div> </div> </div> </div> </div> <div class="col-sm-4"> <div class="widget-box"> <div class="widget-header widget-header-flat"> <h4 class="smaller"> <i class="icon-thumbs-up smaller-80"></i> Facebook & YT Channel </h4> <div class="widget-body"> <div class="widget-main"> <div class="clearfix"> <div class="hr hr8 hr-double"></div> <iframe src="https://www.youtube.com/channel/UCy3rpYfnV9z8JdSQEVC_5tw?view_as=subscriber" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:292px; height:62px;" allowTransparency="true"></iframe> </div> </div> <div class="clearfix"> <div class="hr hr8 hr-double"></div> <script src="https://www.youtube.com/channel/UCy3rpYfnV9z8JdSQEVC_5tw?view_as=subscriber"></script> &nbsp;&nbsp;&nbsp;<div class="g-ytsubscribe" data-channelid="UCNvHJaQ_9x-DEMshCljk7Fw" data-layout="full" data-theme="dark" data-count="default"></div> </div> </div> </div> </div><br /> <div class="widget-box"> <div class="widget-header widget-header-flat"> <h5> <i class="icon-rss orange"></i> Staff logs </h5> </div> <div class="widget-body"> <div class="widget-main"> <div class="hr hr8 hr-double"></div><br /> <div class="clearfix"> <?php $q = Config::$g_con->prepare('SELECT * FROM `staff_logs` ORDER BY `ID` DESC Limit 20'); $q->execute(); while($row = $q->fetch(PDO::FETCH_OBJ)) { ?> <li><?php echo $row->text ?></li> <?php } ?> </div> </div><!--/widget-main--> </div><!--/widget-body--> </div> <br /> <div class="widget-box"> <div class="widget-header widget-header-flat"> <h5> <i class="icon-rss orange"></i> <a href="http://localhost/forum/">Informatii server</a> </h5> </div> <div class="widget-body"> <div class="widget-main"> <div class="clearfix"> <div class="hr hr8 hr-double"></div><br /> <?php $q = Config::$g_con->prepare('SELECT * FROM `updates` WHERE `For` = 1 ORDER BY `id` DESC Limit 1'); $q->execute(); while($row = $q->fetch(PDO::FETCH_OBJ)) { ?> <div class="box-body box box-solid"> <?php if(isset($_SESSION['user'])&& Config::getData('users','Admin',$_SESSION['user']) >= 6) { ?> <form action="" method="POST"> <textarea name="ninfo" class="span12" rows="15"><?php echo $row->text ?></textarea> <input type="submit" name="addninfo" value="Modifica" class="btn btn-success"/> </form> <?php } else { ?> <?php echo $row->text ?> <?php } ?> <br><br> </div> <?php } ?> </div> </div><!--/widget-main--> </div><!--/widget-body--> </div> <br /> <div class="widget-box"> <div class="widget-header widget-header-flat"> <h5> <i class="icon-rss orange"></i> <a href="http://localhost/forum/">Server updates</a> </h5> </div> <div class="widget-body"> <div class="widget-main"> <div class="clearfix"> <div class="hr hr8 hr-double"></div><br /> <?php $q = Config::$g_con->prepare('SELECT * FROM `updates` WHERE `For` = 0 ORDER BY `id` DESC Limit 1'); $q->execute(); while($row = $q->fetch(PDO::FETCH_OBJ)) { ?> <div class="box-body box box-solid"> <?php if(isset($_SESSION['user'])&& Config::getData('users','Admin',$_SESSION['user']) >= 6) { ?> <form action="" method="POST"> <textarea name="supdate" class="span12" rows="15"><?php echo $row->text ?></textarea> <input type="submit" name="addsupdate" value="Modifica" class="btn btn-success"/> </form> <?php } else { ?> <?php echo $row->text ?> <?php } ?> <br><br> </div> <?php } ?> </div> </div><!--/widget-main--> </div><!--/widget-body--> </div> </div>
  20. asta nu e aia e alta cum e aici Problema Panel - Ajutor sus asa e si la panel dar mine imi trb aia cu UltraWhit sa schimb
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue. For more details you can also review our Terms of Use and Privacy Policy.