Clean up HTML and PHP, remove extranious checks for loggedin()

This commit is contained in:
Eric Blade
2004-12-29 20:21:31 +00:00
committed by WineHQ
parent 9fac8bc853
commit ffeeaef807
35 changed files with 86 additions and 107 deletions

View File

@@ -59,7 +59,7 @@ if($totalCount == 0)
$tempResult = mysql_query($query);
if(!$tempResult)
{
echo "$query <br>\n";
echo "$query <br />\n";
echo "An error occurred: ".mysql_error()."<p>";
exit;
}
@@ -74,7 +74,7 @@ if($totalCount == 0)
if(debugging())
{
echo $query;
echo "<br><br>";
echo "<br /><br />";
}
echo "Your query returned no data.</body></html>\n";
@@ -100,10 +100,10 @@ if($verbose)
$query .= " LIMIT $curPos,$endPos";
if(debugging())
echo "$query <br><br>\n";
echo "$query <br /><br />\n";
add_pn_buttons($vars, $endPos);
echo "<br> curPos: $curPos <br> linesPerPage: $linesPerPage <br> totalCount: $totalCount <br>";
echo "<br /> curPos: $curPos <br /> linesPerPage: $linesPerPage <br /> totalCount: $totalCount <br />";
if($mode == "edit")
$t->edit($query);