示例#1
0
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','style_ltfont','#000000')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','style_dkfont','#000000')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','style_deffont','#000000')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','bgimage','')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','news','')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','maxlog','1048576')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','defband','0')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','style_sysmsg','#ff0000')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','style_otherusers','#ff0000')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','style_youruser','#001068')");
            DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}settings VALUES('0','serveroffset','0')");
        } else {
        }
    }
}
printct(700, 700, "<font size=\"6\"><div align=\"center\">{$txt['249']}{$step}</div></font>", $body, "#CDCDCD", "#CDCDCD", "#EEEEEE");
?>
<div align="center"><Br><Br><Br>
<a href="http://www.x7chat.com"><img src="images/copyright.png" border="0"></a>
<Br><font size="2"><?php 
echo $txt[76];
?>
</font>
<Br><font size="2"><?php 
echo $txt[77];
?>
</font>
</div>
</body>
</html>
示例#2
0
    echo $CS['FONTLT'];
    ?>
" link="<?php 
    echo $CS['FONTLT'];
    ?>
" vlink="<?php 
    echo $CS['FONTLT'];
    ?>
" alink="<?php 
    echo $CS['FONTLT'];
    ?>
">
<?php 
    $head = "{$txt['284']}";
    $body = "{$txt['285']}";
    printct(700, 700, "<font size=\"6\"><div align=\"center\">{$head}</div></font>", "\n<div align=\"Center\">{$body}\n<Br><Br></div>", $CS[1], $CS[2], $CS[3]);
    exit;
}
$roomsifplusedbyone = 0;
$q = DoQuery("SELECT * FROM {$SERVER['TBL_PREFIX']}rooms");
while ($row = Do_Fetch_Row($q)) {
    $roomsifplusedbyone++;
}
if (@$XUSER['LEVEL'] >= 4 && @$terminalerror2 == 1) {
    $terminalerror2 = 0;
}
cleanPMS();
// Sick function name but what it does is clear the Private Messages
// Begin buffer flush to users web browser, this is done so that the login
// works correctly and they do not get HEADER OUTPUT errors.  Editing this
// line will cause login to fail
示例#3
0
    ?>
" vlink="<?php 
    echo $CS['FONTLT'];
    ?>
" alink="<?php 
    echo $CS['FONTLT'];
    ?>
">
<?php 
    $head = $txt[308];
    if (!isset($invitewho)) {
        $body = "<Br>\n<form action=\"index.php?doinvite=1\" method=\"post\">\n<select name=\"invitewho\">";
        $q = DoQuery("SELECT username FROM {$SERVER['TBL_PREFIX']}online WHERE roomname!='{$ROOMS['IN_ROOM_NAME']}'");
        while ($row = Do_Fetch_Row($q)) {
            $body .= "<option value=\"{$row['0']}\">{$row['0']}</option>";
        }
        $body .= "</select> &nbsp; &nbsp; <input type=\"submit\" value=\"{$txt['308']}\"></form>";
        $body .= "<Br><a href=\"index.php\">{$txt['6']}</a>";
    } else {
        $invitewho = eregi_replace("'", "\\'", $invitewho);
        irc("/invite {$invitewho}");
        $body = "<Br><a href=\"index.php\">{$txt['6']}</a>";
    }
    printct(700, 700, "<font size=\"6\"><div align=\"center\">{$head}</div>", "\n<div align=\"Center\">{$body}\n<Br><Br></div>", "{$CS['1']}", $CS[2], "{$CS['3']}");
}
?>
<Br><Br><Br>
<div align="center"><font size="2">Powered By <a href="http://www.x7chat.com/" target="_blank">X7 Chat</a> 1.3.6B<Br>&copy; 2004 By The <a href="http://www.x7chat.com/" target="_blank">X7 Group</a></font></div>
</div>
</html>
示例#4
0
        } else {
            $total = $total . $ext;
        }
        $body .= '<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td width="100">&nbsp;&nbsp; <b>' . $txt[435] . '</b> </td>
				<td width="150">' . $total . '</td>
				<td width="150">&nbsp;</td>
				<td width="200">&nbsp;</td>
			</tr>';
        $body .= "</table><Br>{$txt['434']}<Br><Br>";
    } elseif ($action == "editbandwidth") {
        $head = $txt[428];
        if (isset($user) && isset($newband)) {
            $body = "<Br>{$txt['438']}<Br><Br>";
            if ($newband != "d") {
                $newband = $newband * 1024 * 1024;
            }
            DoQuery("UPDATE {$SERVER['TBL_PREFIX']}bandwidth SET allowed='{$newband}' WHERE user='******'");
        } else {
            $body = "<Br>{$txt['439']}<Br><Br>";
        }
    }
}
printct(700, 700, "<font size=\"6\"><div align=\"center\">{$head}</div></font>", "<div align=\"center\">{$prebody}{$body}<Br><Br></div>", "{$CS['1']}", "{$CS['2']}", "{$CS['3']}");
?>
<Br><Br><Br>
<div align="center"><font size="2">Powered By <a href="http://www.x7chat.com/" target="_blank">X7 Chat</a> 1.3.6B<Br>&copy; 2004 By The <a href="http://www.x7chat.com/" target="_blank">X7 Group</a></font></div>
</body>
</html>
示例#5
0
    $error = 1;
}
if (strtoupper($username) == "DEFAULT_4" || strtoupper($username) == "DEFAULT_1") {
    $body = "{$txt['194']}";
    $error = 1;
}
$q = DoQuery("SELECT * FROM {$SERVER['TBL_PREFIX']}users WHERE email='{$email}'");
while ($row = Do_Fetch_Row($q)) {
    $body = "{$txt['440']}";
    $error = 1;
}
$pass1 = doXEncrypt($pass1);
if (!isset($error)) {
    $q = DoQuery("SELECT value FROM {$SERVER['TBL_PREFIX']}settings WHERE name='serveroffset'");
    $row = Do_Fetch_Row($q);
    $settings = "14000,5000,1,1,0,3,1,{$row['0']},0,1";
    $time = time();
    $err = DoQuery("INSERT INTO {$SERVER['TBL_PREFIX']}users \nVALUES('0','{$username}','{$pass1}','{$email}','1','{$avatar}','{$realname}','{$location}',\n'{$hobbies}','{$bio}','','1','{$time}','{$settings}')");
    if ($err == 1) {
        $body = "<Br>{$txt['195']}<Br><Br><a href=\"index.php\">{$txt['196']}</a><Br><Br>";
    } else {
        $body = "Sorry a database error occured:<Br>{$err}<Br><Br>";
    }
}
printct(700, 700, "<font size=\"6\"><div align=\"center\">{$txt['197']}</div></font>", "<div align=\"Center\">{$body}</div>", "{$CS['1']}", "{$CS['2']}", "{$CS['3']}");
?>
<Br><Br><Br>
<div align="center"><font size="2">Powered By <a href="http://www.x7chat.com/" target="_blank">X7 Chat</a> 1.3.6B<Br>&copy; 2004 By The <a href="http://www.x7chat.com/" target="_blank">X7 Group</a></font></div>
</body>
</html>