Skip to content

Commit

Permalink
Cleaned some HTML using html validator
Browse files Browse the repository at this point in the history
git-svn-id: file:///Users/Shitiz/Downloads/lssvn/trunk/unstable@857 b72ed6b6-b9f8-46b5-92b4-906544132732
  • Loading branch information
jcleeland committed Jan 29, 2004
1 parent b11561a commit 325e8b1
Show file tree
Hide file tree
Showing 2 changed files with 22 additions and 22 deletions.
4 changes: 2 additions & 2 deletions admin/activate.php
Expand Up @@ -301,7 +301,7 @@

echo "<br />\n<table width='350' align='center' style='border: 1px solid #555555' cellpadding='1' cellspacing='0'>\n";
echo "\t\t\t\t<tr bgcolor='#555555'><td height='4'><font size='1' face='verdana' color='white'><b>"._ACTIVATE." ($sid)</b></td></tr>\n";
echo "\t\t\t\t<tr><td align='center'><font color='green'>"._AC_ACTIVATED."<br /><br />\n";
echo "\t\t\t\t<tr><td align='center'>$setfont<font color='green'>"._AC_ACTIVATED."<br /><br />\n";

$acquery = "UPDATE {$dbprefix}surveys SET active='Y' WHERE sid={$_GET['sid']}";
$acresult = mysql_query($acquery);
Expand All @@ -317,7 +317,7 @@
echo _AC_SURVEYACTIVE."<br /><br />\n";
echo "<input type='submit' value='"._GO_ADMIN."' $btstyle onClick=\"window.open('$scriptname?sid={$_GET['sid']}', '_top')\">\n";
}
echo "\t\t\t\t</td></tr></table>\n";
echo "\t\t\t\t</font></td></tr></table>\n";
echo "</body>\n</html>";
}
?>
40 changes: 20 additions & 20 deletions admin/browse.php
Expand Up @@ -215,20 +215,20 @@
."\t\t<td colspan='2' height='4'><font size='1' face='verdana' color='white'><b>"
. _VIEWRESPONSE.":</b> $id</td></tr>\n"
."\t<tr bgcolor='#999999'><td colspan='2'>\n"
."\t\t\t<img src='./images/blank.gif' width='31' height='20' border='0' hspace='0' align='left'>\n"
."\t\t\t<img src='./images/seperator.gif' border='0' hspace='0' align='left'>\n"
."\t\t\t<img src='./images/blank.gif' width='31' height='20' border='0' hspace='0' align='left' alt='-'>\n"
."\t\t\t<img src='./images/seperator.gif' border='0' hspace='0' align='left' alt='|'>\n"
."\t\t\t<input type='image' align='left' hspace='0' border='0' src='./images/edit.gif' title='"
. _BR_EDITRESPONSE."' onClick=\"window.open('dataentry.php?action=edit&id=$id&sid=$sid&surveytable=$surveytable','_top')\" />\n"
."\t\t\t<a href='dataentry.php?action=delete&id=$id&sid=$sid&surveytable=$surveytable'>"
."<img align='left' hspace='0' border='0' src='./images/delete.gif' title='"
. _BR_DELRESPONSE."' onClick=\"return confirm('"._DR_RUSURE."')\" /></a>\n"
."\t\t\t<img src='./images/blank.gif' width='20' height='20' border='0' hspace='0' align='left'>\n"
."\t\t\t<img src='./images/seperator.gif' border='0' hspace='0' align='left'>\n"
."\t\t\t<img src='./images/blank.gif' width='20' height='20' border='0' hspace='0' align='left'>\n"
."\t\t\t<input type='image' align='left' hspace='0' border='0' src='./images/databack.gif' title='"
."\t\t\t<img src='./images/blank.gif' width='20' height='20' border='0' hspace='0' align='left' alt='-'>\n"
."\t\t\t<img src='./images/seperator.gif' border='0' hspace='0' align='left' alt='|'>\n"
."\t\t\t<img src='./images/blank.gif' width='20' height='20' border='0' hspace='0' align='left' alt='-'>\n"
."\t\t\t<input type='image' name='DataBack' align='left' hspace='0' border='0' src='./images/databack.gif' title='"
. _D_BACK."' onClick=\"window.open('browse.php?action=id&id=$last&sid=$sid&surveytable=$surveytable','_top')\" />\n"
."\t\t\t<img src='./images/blank.gif' width='13' height='20' border='0' hspace='0' align='left'>\n"
."\t\t\t<input type='image' align='left' hspace='0' border='0' src='./images/dataforward.gif' title='"
."\t\t\t<img src='./images/blank.gif' width='13' height='20' border='0' hspace='0' align='left' alt='-'>\n"
."\t\t\t<input type='image' name='DataForward' align='left' hspace='0' border='0' src='./images/dataforward.gif' title='"
. _D_FORWARD."' onClick=\"window.open('browse.php?action=id&id=$next&sid=$sid&surveytable=$surveytable','_top')\" />\n"
."\t\t</td>\n"
."\t</tr>\n"
Expand All @@ -242,7 +242,7 @@
echo "\t<tr>\n"
."\t\t<td bgcolor='#EFEFEF' valign='top' align='right' width='33%' style='padding-right: 5px'>$setfont{$fnames[$i][2]}</td>\n"
."\t\t<td valign='top' style='padding-left: 5px'>$setfont"
. htmlspecialchars($idrow[$fnames[$i][0]], ENT_QUOTES) . "</td>\n"
. htmlspecialchars($idrow[$fnames[$i][0]], ENT_QUOTES) . "</font></td>\n"
."\t</tr>\n"
."\t<tr><td colspan='2' bgcolor='#CCCCCC' height='1'></td></tr>\n";
}
Expand All @@ -260,7 +260,7 @@
elseif ($action == "all")
{
echo "\t<tr bgcolor='#555555'><td colspan='2' height='4'><font size='1' face='verdana' color='white'><b>"
. _BROWSERESPONSES.":</b> <font color='#EEEEEE'>$surveyname</td></tr>\n";
. _BROWSERESPONSES.":</b> <font color='#EEEEEE'>$surveyname</font></td></tr>\n";

if (!isset($_POST['sql']))
{echo "$surveyoptions";} //don't show options when called from another script with a filter on
Expand All @@ -271,7 +271,7 @@
."\t\t<td align='center' $singleborderstyle>$setfont\n"
."\t\t\tShowing Filtered Results<br />\n"
."\t\t\t&nbsp;[<a href=\"javascript:window.close()\">Close</a>]"
."\t\t</td>\n"
."\t\t</font></td>\n"
."\t</tr>\n"
."</table>\n";

Expand Down Expand Up @@ -427,22 +427,22 @@
."\t<tr bgcolor='#555555'><td colspan='2' height='4'><font size='1' face='verdana' color='white'><b>"
. _VIEWCONTROL.":</b></td></tr>\n"
."\t<tr bgcolor='#999999'><td align='left'>\n"
."\t\t\t<img src='./images/blank.gif' width='31' height='20' border='0' hspace='0' align='left'>\n"
."\t\t\t<img src='./images/seperator.gif' border='0' hspace='0' align='left'>\n"
."\t\t\t<input type='image' align='left' hspace='0' border='0' src='./images/databegin.gif' title='"
."\t\t\t<img src='./images/blank.gif' width='31' height='20' border='0' hspace='0' align='left' alt='-'>\n"
."\t\t\t<img src='./images/seperator.gif' border='0' hspace='0' align='left' alt='|'>\n"
."\t\t\t<input type='image' name='DataBegin' align='left' hspace='0' border='0' src='./images/databegin.gif' title='"
. _D_BEGIN."' onClick=\"window.open('browse.php?action=all&sid=$sid&start=0&limit=$limit','_top')\" />\n"
."\t\t\t<input type='image' align='left' hspace='0' border='0' src='./images/databack.gif' title='"
."\t\t\t<input type='image' name='DataBack' align='left' hspace='0' border='0' src='./images/databack.gif' title='"
. _D_BACK."' onClick=\"window.open('browse.php?action=all&sid=$sid&surveytable=$surveytable&start=$last&limit=$limit','_top')\" />\n"
."\t\t\t<img src='./images/blank.gif' width='13' height='20' border='0' hspace='0' align='left'>\n"
."\t\t\t<input type='image' align='left' hspace='0' border='0' src='./images/dataforward.gif' title='"
."\t\t\t<img src='./images/blank.gif' width='13' height='20' border='0' hspace='0' align='left' alt='-'>\n"
."\t\t\t<input type='image' name='DataForward' align='left' hspace='0' border='0' src='./images/dataforward.gif' title='"
. _D_FORWARD."' onClick=\"window.open('browse.php?action=all&sid=$sid&surveytable=$surveytable&start=$next&limit=$limit','_top')\" />\n"
."\t\t\t<input type='image' align='left' hspace='0' border='0' src='./images/dataend.gif' title='"
."\t\t\t<input type='image' name='DataEnd' align='left' hspace='0' border='0' src='./images/dataend.gif' title='"
. _D_END."' onClick=\"window.open('browse.php?action=all&sid=$sid&start=$end&limit=$limit','_top')\" />\n"
."\t\t\t<img src='./images/seperator.gif' border='0' hspace='0' align='left'>\n"
."\t\t\t<img src='./images/seperator.gif' border='0' hspace='0' align='left' alt='|'>\n"
."\t\t</td>\n"
."\t\t<form action='browse.php'>\n"
."\t\t<td align='right'><font size='1' face='verdana'>\n"
."\t\t\t<img src='./images/blank.gif' width='31' height='20' border='0' hspace='0' align='right'>\n"
."\t\t\t<img src='./images/blank.gif' width='31' height='20' border='0' hspace='0' align='right' alt='-'>\n"
."\t\t\t"._BR_DISPLAYING."<input type='text' $slstyle size='4' value='$dtcount2' name='limit'>\n"
."\t\t\t"._BR_STARTING."<input type='text' $slstyle size='4' value='$start' name='start'>\n"
."\t\t\t<input type='submit' value='"._BR_SHOW."' $btstyle>\n"
Expand Down

0 comments on commit 325e8b1

Please sign in to comment.