Parse error: syntax error, unexpected T_CONSTANT_ENCAPSED_STRING, expecting ')' in /var/www/vhosts/dynastygaming.de/httpdocs/include/contents/user/user_details.php on line 42
<?php # Copyright by: Manuel Staechele # Support: www.ilch.de defined ('main') or die ( 'no direct access' ); $uid = $menu->get(2); $abf = 'SELECT * FROM prefix_user WHERE id = "'.$uid.'"'; $erg = db_query($abf); $row = db_fetch_assoc($erg); $avatar = ''; if ( file_exists($row['avatar'])) { $avatar = '<img src="'.$row['avatar'].'" border="0">'; } $regsek = mktime ( 0,0,0, date('m'), date('d'), date('Y') ) - $row['regist']; $regday = round($regsek / 86400); $postpday = ( $regday == 0 ? 0 : round($row['posts'] / $regday, 2 ) ); $rp=rangcount($row['id'],$row['posts'],$row['cpoints'],$row['fwarn']); $ar = array ( 'NAME' => $row['name'], 'ROWSP'=>10, 'JOINED' => date('d M Y',$row['regist']), 'LASTAK' => date('d M Y - H:i',$row['llogin']), 'POSTS' => $row['posts'], 'postpday' => $postpday, 'RANG' => rangbild ($rp), 'SRANK' => spezrang ($row['id']), 'RECHT' => getlistrecht($row['recht']), 'POINTS' =>$row['cpoints'], 'RPOINT' =>$rp, 'GAMES' => getteams($row['id']), 'VERW' => verwarnstu($row['fwarn'],0), 'dze'=>getmedal(1,$row['regist']), 'fze'=>getmedal(2,$row['posts']), 'wze'=>getmedal(3,$row['cpoints']), 'cme' =>getmedal(4,$row['medal']) 'AVATA' => $avatar, 'GAMERTAG' => (empty($row['gamertag']) ? 'GAMERCARD' : $row['gamertag']), ); $title = $allgAr['title'].' :: Users :: Details von '.$row['name']; $hmenu = $extented_forum_menu.'<a class="smalfont" href="?user">Users</a><b> » </b> Details von '.$row['name'].$extented_forum_menu_sufix; $design = new design ( $title , $hmenu, 1); $design->header(); $tpl = new tpl ( 'user/userdetails' ); $l = profilefields_show ( $uid ); $ar['rowspan'] = 4 + substr_count($l, '<tr><td class="'); $ar['profilefields'] = $l; $tpl->set_ar_out($ar,0); $design->footer(); ?>
verwendete ilchClan Version: 1.1
betroffene Homepage: dynastygaming.de