battles/admin/test.php
2018-03-03 02:37:05 +02:00

20 lines
561 B
PHP

<?php
include '../config.php';
include_once '../classes/nick.php';
//include '../functions.php';
//showinf_pers(10736,1);
//showinf_pers(10736);
$row = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_assoc_array();
print_r($row);
echo '<hr>';
$row2 = db::c()->query('select * from `bank` WHERE owner=10929 OR owner=11221')->fetch_row_array();
print_r($row2);
echo '<hr>';
$obj = new nick(11221); echo $obj->login()['login']."[{$obj->login()['level']}]";
echo '<hr>';
echo $obj->login(1)['login']."[{$obj->login()['level']}]";