function mysql_errors($description) { $tpl = new Template(); $tpl->dir = ROOT_DIR . "/templates/"; $tpl->load_template('mysql.tpl'); $tpl->set('{THEME}', $templates); $tpl->set('{description}', charset_x_win($description)); $tpl->compile('mysql_errors'); eval(' ?' . '>' . $tpl->result['mysql_errors'] . '<' . '?php '); $tpl->global_clear(); }
if ($row['pFishLic'] == 1) { $pfishlic = "alert alert-success"; } else { $pfishlic = "alert alert-error"; } if ($row['pGunLic'] == 1) { $pgunlic = "alert alert-success"; } else { $pgunlic = "alert alert-error"; } if ($row['pBizLic'] == 1) { $pbizlic = "alert alert-success"; } else { $pbizlic = "alert alert-error"; } $pdatareg = charset_x_win(datetime($row['pDataReg'])); if ($row['pSex'] == 1) { $floor = $lang_main['ucp_floor_1']; } elseif ($row['pSex'] == 2) { $floor = $lang_main['ucp_floor_2']; } else { $floor = $lang_main['ucp_floor_1']; } if ($row['pAdmin'] >= 5) { $tpl->set('[adminpanel]', ""); $tpl->set('[/adminpanel]', ""); } else { $tpl->set_block("'\\[adminpanel\\](.*?)\\[/adminpanel\\]'si", ""); } function fraction_rang($pmember, $prank) {