function edit_account() { global $name,$pass,$edit, $prioritaet; global $table_accounts, $table_banner, $table_groups, $table_stats, $datei_endung; $sql = "select pass, banner, ziel, datum, kunde, email, show_art, html, alt_text from $table_accounts where id=$edit"; $sql_id = mysql_query($sql); $account = mysql_fetch_row($sql_id); $sql = "select ads, adklicks, startdatum, prio, startzeit, biszeit from $table_banner where id=$edit"; $sql_id = mysql_query($sql); $banner = mysql_fetch_row($sql_id); $sql = "select name, accounts from $table_groups"; $sql_id = mysql_query($sql); if($banner[0] < 0) { $banner[0] = 0; } if($banner[1] < 0) { $banner[1] = 0; } $startdatum = split("-",$banner[2]); $banner[2] = "$startdatum[2].$startdatum[1].$startdatum[0]"; ?>
Accounts bearbeiten
|
Account : |