Make WordPress Core

Changeset 44


Ignore:
Timestamp:
05/23/2003 08:29:51 AM (22 years ago)
Author:
saxmatt
Message:

Monster administration update. Tables fixed, format streamlined, HTML cleaned up.

Location:
trunk/wp-admin
Files:
2 added
10 edited

Legend:

Unmodified
Added
Removed
  • trunk/wp-admin/b2.css

    r40 r44  
    1313    display: none;
    1414}
    15 
     15p {
     16    line-height: 130%;
     17}
    1618#adminmenu {
    1719    list-style: none outside;
     
    6668}
    6769
    68 .panelbody {
    69     /* empty style - for you to customize it.
    70        this style applies to b2's interface, the part where the sections are displayed */
     70h2 {
     71    margin: 0 5px 2px 5px;
     72    padding: 3px;
     73    color: #333;
     74    border-bottom: 2px solid #333;
    7175}
     76
    7277.table {
    7378    color: #000000;
     
    135140}
    136141form { margin: 0; padding: 0; } /* thanks #mozilla */
     142
     143td.menutop {
     144    padding-top: 2px;
     145    padding-bottom: 2px;
     146    border-color: #999999;
     147    border-top-width: 1px;
     148    border-bottom-width: 1px;
     149    border-left-width: 0px;
     150    border-right-width: 0px;
     151    border-style: dashed;
     152}
     153textarea, input, select {
     154    background-color: #f0f0f0;
     155    border-width: 1px;
     156    border-color: #cccccc;
     157    border-style: solid;
     158    padding: 2px;
     159    margin: 1px;
     160    font-family: Georgia, "Times New Roman", Times, serif;
     161}
     162.checkbox {
     163    background-color: #ffffff;
     164    border-width: 0px;
     165    padding: 0px;
     166    margin: 0px;
     167}
     168
     169label {
     170    font-weight: bold;
     171}
  • trunk/wp-admin/b2categories.php

    r38 r44  
    11<?php
    2 $title = "Categories";
     2$title = 'Categories';
    33/* <Categories> */
    44
     
    3838switch($action) {
    3939
    40 case "addcat":
     40case 'addcat':
    4141
    4242    $standalone = 1;
    43     require_once("./b2header.php");
     43    require_once('b2header.php');
    4444
    4545    if ($user_level < 3)
    46     die ("Cheatin' uh ?");
     46        die ('Cheatin&#8217; uh?');
    4747   
    4848    $cat_name=addslashes($HTTP_POST_VARS["cat_name"]);
    4949
    50     $query="INSERT INTO $tablecategories (cat_ID,cat_name) VALUES ('0', '$cat_name')";
    51     $result=mysql_query($query) or die("Couldn't add category <b>$cat_name</b>");
     50    $query = "INSERT INTO $tablecategories (cat_ID,cat_name) VALUES ('0', '$cat_name')";
     51    $result = mysql_query($query) or die("Couldn't add category <b>$cat_name</b>");
    5252   
    53     header("Location: b2categories.php");
     53    header('Location: b2categories.php');
    5454
    5555break;
    5656
    57 case "Delete":
     57case 'Delete':
    5858
    5959    $standalone = 1;
    60     require_once("./b2header.php");
     60    require_once('b2header.php');
    6161
    62     $cat_ID = $HTTP_POST_VARS["cat_ID"];
    63     $cat_name=get_catname($cat_ID);
    64     $cat_name=addslashes($cat_name);
     62    $cat_ID = intval($HTTP_POST_VARS["cat_ID"]);
     63    $cat_name = get_catname($cat_ID);
     64    $cat_name = addslashes($cat_name);
    6565
    66     if ($cat_ID=="1")
    67         die("Can't delete the <b>$cat_name</b> category: this is the default one");
     66    if (1 == $cat_ID)
     67        die("Can't delete the <strong>$cat_name</strong> category: this is the default one");
    6868
    6969    if ($user_level < 3)
    70     die ("Cheatin' uh ?");
     70        die ('Cheatin&#8217; uh?');
    7171   
    72     $query="DELETE FROM $tablecategories WHERE cat_ID=\"$cat_ID\"";
    73     $result=mysql_query($query) or die("Couldn't delete category <b>$cat_name</b>".mysql_error());
     72    $query = "DELETE FROM $tablecategories WHERE cat_ID = $cat_ID";
     73    $result = mysql_query($query) or die("Couldn't delete category <b>$cat_name</b>".mysql_error());
    7474   
    75     $query="UPDATE $tableposts SET post_category='1' WHERE post_category='$cat_ID'";
    76     $result=mysql_query($query) or die("Couldn't reset category on posts where category was <b>$cat_name</b>");
     75    $query = "UPDATE $tableposts SET post_category='1' WHERE post_category='$cat_ID'";
     76    $result = mysql_query($query) or die("Couldn't reset category on posts where category was <b>$cat_name</b>");
    7777
    78     header("Location: b2categories.php");
     78    header('Location: b2categories.php');
    7979
    8080break;
    8181
    82 case "Rename":
     82case 'Rename':
    8383
    84     require_once ("./b2header.php");
    85     $cat_name=get_catname($HTTP_POST_VARS["cat_ID"]);
    86     $cat_name=addslashes($cat_name);
     84    require_once ('b2header.php');
     85    $cat_name = get_catname($HTTP_POST_VARS["cat_ID"]);
     86    $cat_name = addslashes($cat_name);
    8787    ?>
    88 <?php echo $blankline; ?>
    89 <?php echo $tabletop; ?>
    90     <p><b>Old</b> name: <?php echo $cat_name ?></p>
     88
     89<div class="wrap">
     90    <p><strong>Old</strong> name: <?php echo $cat_name ?></p>
    9191    <p>
    9292    <form name="renamecat" action="b2categories.php" method="post">
    93         <b>New</b> name:<br />
     93        <strong>New</strong> name:<br />
    9494        <input type="hidden" name="action" value="editedcat" />
    9595        <input type="hidden" name="cat_ID" value="<?php echo $HTTP_POST_VARS["cat_ID"] ?>" />
     
    9797        <input type="submit" name="submit" value="Edit it !" class="search" />
    9898    </form>
    99 <?php echo $tablebottom; ?>
     99</div>
    100100
    101101    <?php
     
    103103break;
    104104
    105 case "editedcat":
     105case 'editedcat':
    106106
    107107    $standalone = 1;
    108     require_once("./b2header.php");
     108    require_once('b2header.php');
    109109
    110110    if ($user_level < 3)
    111     die ("Cheatin' uh ?");
     111        die ('Cheatin&#8217; uh?');
    112112   
    113     $cat_name=addslashes($HTTP_POST_VARS["cat_name"]);
    114     $cat_ID=addslashes($HTTP_POST_VARS["cat_ID"]);
     113    $cat_name = addslashes($HTTP_POST_VARS["cat_name"]);
     114    $cat_ID = addslashes($HTTP_POST_VARS["cat_ID"]);
    115115
    116     $query="UPDATE $tablecategories SET cat_name='$cat_name' WHERE cat_ID=$cat_ID";
    117     $result=mysql_query($query) or die("Couldn't edit category <b>$cat_name</b>: ".mysql_error());
     116    $query = "UPDATE $tablecategories SET cat_name='$cat_name' WHERE cat_ID = $cat_ID";
     117    $result = mysql_query($query) or die("Couldn't edit category <b>$cat_name</b>: ".mysql_error());
    118118   
    119     header("Location: b2categories.php");
     119    header('Location: b2categories.php');
    120120
    121121break;
     
    123123default:
    124124
    125     $standalone=0;
    126     require_once ("./b2header.php");
     125    $standalone = 0;
     126    require_once ('b2header.php');
    127127    if ($user_level < 3) {
    128         die("You have no right to edit the categories for this blog.<br>Ask for a promotion to your <a href=\"mailto:$admin_email\">blog admin</a> :)");
     128        die("You have no right to edit the categories for this blog.<br />Ask for a promotion to your <a href='mailto:$admin_email'>blog admin</a>. :)");
    129129    }
    130130    ?>
    131131
    132 <?php echo $blankline ?>
    133 <?php echo $tabletop ?>
    134     <table width="" cellpadding="5" cellspacing="0">
    135     <form></form>
    136     <tr>
    137     <td>
     132<div class="wrap">
    138133    <form name="cats" method="post">
    139     <b>Edit</b> a category:<br />
     134    <h3>Edit a category:</h3>
     135    <p>
    140136    <?php
    141     $query="SELECT * FROM $tablecategories ORDER BY cat_ID";
    142     $result=mysql_query($query);
    143     echo "<select name=\"cat_ID\">\n";
     137    $query = "SELECT * FROM $tablecategories ORDER BY cat_ID";
     138    $result = mysql_query($query);
     139    echo "<select name='cat_ID'>\n";
    144140    while($row = mysql_fetch_object($result)) {
    145         echo "\t<option value=\"".$row->cat_ID."\"";
     141        echo "\t<option value='$row->cat_ID'";
    146142        if ($row->cat_ID == $cat)
    147             echo " selected";
     143            echo ' selected="selected"';
    148144        echo ">".$row->cat_ID.": ".$row->cat_name."</option>\n";
    149145    }
     
    154150    </form>
    155151    </p>
    156     <p>
    157     <b>Add</b> a category:<br />
     152
     153    <h3>Add a category:</h3>
    158154        <form name="addcat" action="b2categories.php" method="post">
    159155            <input type="hidden" name="action" value="addcat" />
    160156            <input type="text" name="cat_name" /><br />
    161             <input type="submit" name="submit" value="Add it !" class="search" /></form></td></tr></table>
    162 <?php echo $tablebottom ?>
     157            <input type="submit" name="submit" value="Add it!" class="search" /></form>
     158</div>
    163159
    164 <br />
    165160
    166 <?php echo $tabletop ?>
    167     <b>Note:</b><br />
    168     Deleting a category does not delete posts from that category.<br />It will just set them back to the default category <b><?php echo get_catname(1) ?></b>.
    169 <?php echo $tablebottom ?>
     161
     162<div class="wrap">
     163  <p><strong>Note:</strong><br />
     164    Deleting a category does not delete posts from that category, it will just
     165    set them back to the default category <strong><?php echo get_catname(1) ?></strong>.
     166  </p>
     167</div>
    170168
    171169    <?php
     
    174172
    175173/* </Categories> */
    176 include("b2footer.php"); ?>
     174include('b2footer.php');
     175?>
  • trunk/wp-admin/b2edit.form.php

    r38 r44  
     1<div class="wrap">
    12<?php
    2 echo $tabletop;
    33
    44switch($action) {
    5     case "post":
    6         $submitbutton_text = "Blog this !";
    7         $toprow_title = "New Post";
    8         $form_action = "post";
    9         $form_extra = "";
     5    case 'post':
     6        $submitbutton_text = 'Blog this!';
     7        $toprow_title = 'New Post';
     8        $form_action = 'post';
     9        $form_extra = '';
    1010        if ($use_pingback) {
    11             $form_pingback = '<input type="checkbox" class="checkbox" name="post_pingback" value="1" checked="checked" tabindex="7" id="pingback" /><label for="pingback"> PingBack the URLs in this post</label><br />';
     11            $form_pingback = '<input type="checkbox" class="checkbox" name="post_pingback" value="1" checked="checked" tabindex="7" id="pingback" /> <label for="pingback">PingBack the URLs in this post</label><br />';
    1212        } else {
    1313            $form_pingback = '';
    1414        }
    1515        if ($use_trackback) {
    16             $form_trackback = '<br /><br /><label for="trackback"><b>TrackBack</b> an URL:</label><br /><input type="text" name="trackback_url" style="width: 415px" id="trackback" />';
     16            $form_trackback = '<p><label for="trackback"><strong>TrackBack</strong> an <acronym title="Uniform Resource Locator">URL</acronym>:</label> (Seperate multiple URLs with commas.)<br /><input type="text" name="trackback_url" style="width: 415px" id="trackback" /></p>';
    1717        } else {
    1818            $form_trackback = '';
     
    2121        break;
    2222    case "edit":
    23         $submitbutton_text ="Edit this !";
    24         $toprow_title = "Editing Post #".$postdata["ID"];
    25         $form_action = "editpost";
    26         $form_extra = "\" />\n<input type=\"hidden\" name=\"post_ID\" value=\"$post";
     23        $submitbutton_text = 'Edit this!';
     24        $toprow_title = 'Editing Post #' . $postdata["ID"];
     25        $form_action = 'editpost';
     26        $form_extra = "' />\n<input type='hidden' name='post_ID' value='$post";
    2727        $colspan = 2;
    2828        $form_pingback = '<input type="hidden" name="post_pingback" value="0" />';
     
    3030        break;
    3131    case "editcomment":
    32         $submitbutton_text ="Edit this !";
    33         $toprow_title = "Editing Comment #".$commentdata["comment_ID"];
    34         $form_action = "editedcomment";
    35         $form_extra = "\" />\n<input type=\"hidden\" name=\"comment_ID\" value=\"$comment\" />\n<input type=\"hidden\" name=\"comment_post_ID\" value=\"".$commentdata["comment_post_ID"];
     32        $submitbutton_text = 'Edit this!';
     33        $toprow_title = 'Editing Comment # '.$commentdata["comment_ID"];
     34        $form_action = 'editedcomment';
     35        $form_extra = "' />\n<input type='hidden' name='comment_ID' value='$comment' />\n<input type='hidden' name='comment_post_ID' value='".$commentdata["comment_post_ID"];
    3636        $colspan = 3;
    3737        $form_pingback = '<input type="hidden" name="post_pingback" value="0" />';
     
    4444<form name="post" action="b2edit.php" method="POST">
    4545<input type="hidden" name="user_ID" value="<?php echo $user_ID ?>" />
    46 <input type="hidden" name="action" value="<?php echo $form_action.$form_extra ?>" />
     46<input type="hidden" name="action" value='<?php echo $form_action . $form_extra ?>' />
    4747
    48 <table cellspacing="0" cellpadding="0" border="0" width="100%">
    49 <tr>
    5048<?php if ($action != "editcomment") {
    5149  // this is for everything but comment editing
    52 ?>  <td>
    53       <table height="60" align="left" cellpadding="0" cellspacing="0">
    54         <td height="60" width="190">
    55           <label for="title"><b>Title :</b></label><br />
    56           <input type="text" name="post_title" size="20" tabindex="1" style="width: 170px;" value="<?php echo $edited_post_title; ?>" id="title" />
     50?>
     51      <table>
     52        <tr>
     53        <td width="210">
     54          <label for="title">Title:</label><br />
     55          <input type="text" name="post_title" size="25" tabindex="1" style="width: 190px;" value="<?php echo $edited_post_title; ?>" id="title" />
    5756        </td>
    5857        <td>
    59           <label for="category"><b>Category :</b></label><br /><?php dropdown_categories(); ?>
     58          <label for="category">Category :</label>
     59              <br /><?php dropdown_categories(); ?>
    6060        </td>
     61        </tr>
    6162      </table>
    6263  <?php
     
    6566 
    6667// this is for comment editing
    67 ?>  <td colspan="2">&nbsp;</td>
    68 </tr>
    69 
    70 <tr>
     68?>
     69<table>
     70    <tr>
    7171    <td>
    72     <label for="name"><b>Name :</b></label><br />
    73     <input type="text" name="newcomment_author" size="20" value="<?php echo format_to_edit($commentdata["comment_author"]) ?>" tabindex="1" id="name" /></td>
     72    <label for="name">Name:</label>
     73        <br />
     74    <input type="text" name="newcomment_author" size="22" value="<?php echo format_to_edit($commentdata["comment_author"]) ?>" tabindex="1" id="name" /></td>
    7475    <td>
    75     <label for="email"><b>E-mail :</b></label><br />
    76     <input type="text" name="newcomment_author_email" size="20" value="<?php echo format_to_edit($commentdata["comment_author_email"]) ?>" tabindex="2" id="email" /></td>
     76    <label for="email">E-mail:</label>
     77        <br />
     78    <input type="text" name="newcomment_author_email" size="30" value="<?php echo format_to_edit($commentdata["comment_author_email"]) ?>" tabindex="2" id="email" /></td>
    7779    <td>
    78     <label for="URL"><b>URL :</b></label><br />
    79     <input type="text" name="newcomment_author_url" size="20" value="<?php echo format_to_edit($commentdata["comment_author_url"]) ?>" tabindex="3" id="URL" />
     80    <label for="URL">URL:</label>
     81        <br />
     82    <input type="text" name="newcomment_author_url" size="35" value="<?php echo format_to_edit($commentdata["comment_author_url"]) ?>" tabindex="3" id="URL" /></td>
     83    </tr>
     84</table>
    8085    <?php
    8186 
     
    8388
    8489    ?>
    85     </td>
    86 </tr>
    87 <tr>
    88 <td colspan="<?php echo $colspan; ?>">
    89 <table cellspacing="0" cellpadding="0" border="0" width="100%">
    90 <td valign="bottom">
    91 <?php
    92 if ($action != 'editcomment') {
    93   echo '<label for="excerpt"><b>Excerpt :</b></label>';
    94 } else {
    95   echo '<br /><label for="content"><b>Comment :</b></label>';
    96 }
    97 ?>
    98 </td>
    99 <td valign="bottom" align="right">&nbsp;</td>
    100 </table>
    101 
    102 <textarea rows="3" cols="40" style="width:100%" name="excerpt" tabindex="4" wrap="virtual" id="excerpt"><?php echo $excerpt ?></textarea><br />
    103 <table cellspacing="0" cellpadding="0" border="0" width="100%">
    10490
    10591<?php
    10692if ($action != 'editcomment') {
    107     echo '<label for="content"><b>Post :</b></label>';
     93  echo '<label for="excerpt">Excerpt:</label>';
     94?>
     95<p><textarea rows="3" cols="40" style="width:100%" name="excerpt" tabindex="4" wrap="virtual" id="excerpt"><?php echo $excerpt ?></textarea></p>
     96
     97<?php
     98} // if not a comment
     99?>
     100<table width="100%">
     101    <tr>
     102        <td>
     103<?php
     104if ($action != 'editcomment') {
     105    echo '<label for="content">Post:</label>';
    108106} else {
    109     echo '<br /><label for="content"><b>Comment :</b></label>';
     107    echo '<br /><label for="content">Comment:</label>';
    110108}
    111109?>
    112 </td>
    113 <td valign="bottom" align="right">
    114 <?php if ($use_quicktags) include('b2quicktags.php'); ?>
    115 </td>
     110        </td>
     111        <td align="right">
     112<?php if ($use_quicktags) {
     113    include('b2quicktags.php');
     114    }
     115?>
     116        </td>
     117    </tr>
    116118</table>
    117 
    118119<textarea rows="9" cols="40" style="width:100%" name="content" tabindex="4" wrap="virtual" id="content"><?php echo $content ?></textarea><br />
    119120
    120121<?php echo $form_pingback ?>
    121122
    122 <?php if ($use_preview) { ?>
    123 <input type="button" value="preview" onclick="preview(this.form);" class="search" tabindex="8" />
    124 <?php } ?>
    125 
    126 <input type="submit" name="submit" value="<?php echo $submitbutton_text ?>" class="search" style="font-weight: bold;" tabindex="5" />
     123<p><input type="submit" name="submit" value="<?php echo $submitbutton_text ?>" class="search" style="font-weight: bold;" tabindex="5" /></p>
    127124
    128125
     
    134131
    135132// if the level is 5+, allow user to edit the timestamp - not on 'new post' screen though
    136 #if (($user_level > 4) && ($action != "post"))
     133// if (($user_level > 4) && ($action != "post"))
    137134if ($user_level > 4) {
    138     touch_time(($action=="edit"));
     135    touch_time(($action == 'edit'));
    139136}
    140137?>
    141 <script language="JavaScript" type="text/javascript">
    142 <!--
    143 //  document.blog.post_content.focus();
    144 //-->
    145 </script>
    146 </td>
    147 </tr>
    148 </table>
    149 <?php echo $tablebottom ?>
     138
    150139</form>
     140</div>
  • trunk/wp-admin/b2edit.php

    r40 r44  
    4141
    4242    $standalone = 1;
    43     require_once('./b2header.php');
     43    require_once('b2header.php');
    4444
    4545    $post_autobr = intval($HTTP_POST_VARS["post_autobr"]);
     
    5353
    5454    if ($user_level == 0)
    55     die ("Cheatin' uh ?");
     55        die ("Cheatin' uh ?");
    5656
    5757    if (($user_level > 4) && (!empty($HTTP_POST_VARS["edit_date"]))) {
     
    6868        $now = "$aa-$mm-$jj $hh:$mn:$ss";
    6969    } else {
    70         $now = date("Y-m-d H:i:s",(time() + ($time_difference * 3600)));
    71     }
    72 
    73     $query = "INSERT INTO $tableposts (ID, post_author, post_date, post_content, post_title, post_category, post_excerpt) VALUES ('0','$user_ID','$now','$content','".$post_title."','".$post_category."','".$excerpt."')";
     70        $now = date("Y-m-d H:i:s", (time() + ($time_difference * 3600)));
     71    }
     72
     73    $query = "INSERT INTO $tableposts (ID, post_author, post_date, post_content, post_title, post_category, post_excerpt) VALUES ('0','$user_ID','$now','$content','$post_title','$post_category','$excerpt')";
    7474    $result = mysql_query($query) or mysql_oops($query);
    7575
     
    8080    }
    8181
    82     rss_update($blog_ID);
    8382    pingWeblogs($blog_ID);
    8483    pingCafelog($cafelogID, $post_title, $post_ID);
     
    118117break;
    119118
    120 case "edit":
    121 
    122     $standalone=0;
    123     require_once ("./b2header.php");
    124     $post = $HTTP_GET_VARS["post"];
     119case 'edit':
     120
     121    $standalone = 0;
     122    require_once('b2header.php');
     123    $post = $HTTP_GET_VARS['post'];
    125124    if ($user_level > 0) {
    126         $postdata=get_postdata($post) or die("Oops, no post with this ID. <a href=\"b2edit.php\">Go back</a> !");
     125        $postdata=get_postdata($post) or die('Oops, no post with this ID. <a href="b2edit.php">Go back</a>!');
    127126        $authordata = get_userdata($postdata["Author_ID"]);
    128127    if ($user_level < $authordata[13])
    129     die ("You don't have the right to edit <b>".$authordata[1]."</b>'s posts.");
    130 
    131     $content = $postdata["Content"];
     128    die ('You don&#8217;t have the right to edit <strong>'.$authordata[1].'</strong>&#8217;s posts.');
     129
     130    $content = $postdata['Content'];
    132131    $content = format_to_edit($content);
    133     $excerpt = $postdata["Excerpt"];
     132    $excerpt = $postdata['Excerpt'];
    134133    $excerpt = format_to_edit($excerpt);
    135     $edited_post_title = format_to_edit($postdata["Title"]);
    136 
    137     echo $blankline;
    138     include("b2edit.form.php");
     134    $edited_post_title = format_to_edit($postdata['Title']);
     135
     136    include('b2edit.form.php');
    139137
    140138    } else {
     
    191189    }
    192190
    193     rss_update($blog_ID);
    194191//  pingWeblogs($blog_ID);
    195192
     
    226223    }
    227224
    228     rss_update($blog_ID);
    229225//  pingWeblogs($blog_ID);
    230226
    231     header ("Location: b2edit.php");
    232 
    233 break;
    234 
    235 case "editcomment":
    236 
    237     $standalone=0;
    238     require_once ("./b2header.php");
     227    header ('Location: b2edit.php');
     228
     229break;
     230
     231case 'editcomment':
     232
     233    $standalone = 0;
     234    require_once ('b2header.php');
    239235
    240236    get_currentuserinfo();
    241237
    242238    if ($user_level == 0) {
    243         die ("Cheatin' uh ?");
     239        die ('Cheatin&#8217; uh?');
    244240    }
    245241
    246242    $comment = $HTTP_GET_VARS['comment'];
    247     $commentdata = get_commentdata($comment,1) or die("Oops, no comment with this ID. <a href=\"javascript:history.go(-1)\">Go back</a> !");
    248     $content = $commentdata["comment_content"];
     243    $commentdata = get_commentdata($comment, 1) or die('Oops, no comment with this ID. <a href="javascript:history.go(-1)">Go back</a>!');
     244    $content = $commentdata['comment_content'];
    249245    $content = format_to_edit($content);
    250    
    251     echo $blankline;
    252     include("b2edit.form.php");
     246
     247    include('b2edit.form.php');
    253248
    254249break;
  • trunk/wp-admin/b2edit.showposts.php

    r38 r44  
    1 <?php
    2 
    3 echo $tabletop;
     1<div class="wrap">
     2<?php
     3
    44require_once('b2config.php');
    55
     
    4545        <tr>
    4646          <td colspan="2" align="center"><!-- show next/previous X posts -->
    47             <form name="previousXposts" method="get">
     47            <form name="previousXposts" method="get" action="">
    4848<?php
    4949if ($previousXstart > 0) {
     
    5858          </td>
    5959          <td>
    60             <form name="nextXposts" method="get">
     60            <form name="nextXposts" method="get" action="">
    6161              <input type="hidden" name="poststart" value="<?php echo $nextXstart; ?>" />
    6262              <input type="hidden" name="postend" value="<?php echo $nextXend; ?>" />
     
    7070  <tr>
    7171    <td valign="top" width="200"><!-- show X first/last posts -->
    72       <form name="showXfirstlastposts" method="get">
     72      <form name="showXfirstlastposts" method="get" action="">
    7373        <input type="text" name="posts" value="<?php echo $posts ?>" style="width:40px;" /?>
    7474<?php
     
    7777$i = $order;
    7878if ($i == "DESC")
    79  $besp_selected = "selected";
    80 ?>
    81         <select name="order">&nbsp;
    82           <option value="DESC" "<?= $besp_selected ?>">last posts</option>
     79 $besp_selected = "selected='selected'";
     80?>
     81        <select name="order">
     82          <option value="DESC" <?php echo $besp_selected ?>>last posts</option>
    8383<?php
    8484$besp_selected = "";
    8585if ($i == "ASC")
    86 $besp_selected = "selected";
    87 ?>
    88           <option value="ASC" "<?= $besp_selected?>">first posts</option>
     86$besp_selected = "selected='selected'";
     87?>
     88          <option value="ASC" <?php echo $besp_selected?>>first posts</option>
    8989        </select>&nbsp;
    9090        <input type="submit" name="submitfirstlast" class="search" value="OK" />
     
    9292    </td>
    9393    <td valign="top"><!-- show post X to post X -->
    94       <form name="showXfirstlastposts" method="get">
     94      <form name="showXfirstlastposts" method="get" action="">
    9595        <input type="text" name="poststart" value="<?php echo $poststart ?>" style="width:40px;" /?>&nbsp;to&nbsp;<input type="text" name="postend" value="<?php echo $postend ?>" style="width:40px;" /?>&nbsp;
    9696        <select name="order">
     
    9999$i = $order;
    100100if ($i == "DESC")
    101   $besp_selected = "selected";
    102 ?>
    103           <option value="DESC" "<?= $besp_selected ?>">from the end</option>
     101  $besp_selected = "selected='selected'";
     102?>
     103          <option value="DESC" "<?php echo $besp_selected ?>">from the end</option>
    104104<?php
    105105$besp_selected = "";
    106106if ($i == "ASC")
    107   $besp_selected = "selected";
    108 ?>        <option value="ASC" "<?= $besp_selected ?>">from the start</option>
     107  $besp_selected = "selected='selected'";
     108?>        <option value="ASC" "<?php echo $besp_selected ?>">from the start</option>
    109109        </select>&nbsp;
    110110        <input type="submit" name="submitXtoX" class="search" value="OK" />
     
    113113  </tr>
    114114</table>
    115 <?php echo $tablebottom ?>
    116 
    117 <br />
    118 
    119 <?php echo $tabletop ?>
     115</div>
     116
     117<div class="wrap">
    120118<table width="100%">
    121119    <td valign="top" width="33%">
    122120        <form name="searchform" action="b2edit.php" method="get">
    123121            <input type="hidden" name="a" value="s" />
    124             <input onFocus="this.value='';" onBlur="if (this.value=='') {this.value='search...';}" type="text" name="s" value="search..." size="7" style="width: 100px;" />
     122            <input onfocus="this.value='';" onblur="if (this.value=='') {this.value='search...';}" type="text" name="s" value="search..." size="7" style="width: 100px;" />
    125123            <input type="submit" name="submit" value="search" class="search" />
    126124        </form>
     
    138136        echo "<option value=\"".$row->cat_ID."\"";
    139137        if ($row->cat_ID == $postdata["Category"])
    140             echo " selected";
     138            echo " selected='selected'";
    141139        echo ">".$row->cat_name."</option>";
    142140    }
     
    228226
    229227</table>
    230 <br />
    231 
    232 <table cellspacing="0" cellpadding="5" border="0" width="100%">
     228
    233229    <?php
    234230    // these lines are b2's "motor", do not alter nor remove them
     
    238234        $posts_per_page = 10;
    239235    start_b2(); ?>
    240         <tr>
    241         <td>
    242236            <p>
    243                 <b><?php the_time('Y/m/d @ H:i:s'); ?></b> [ <a href="b2edit.php?p=<?php echo $id ?>&c=1"><?php comments_number('no comment', '1 comment', "% comments") ?><?php trackback_number('', ', 1 trackback', ', % trackbacks') ?><?php pingback_number('', ', 1 pingback', ', % pingbacks') ?></a>
     237                <strong><?php the_time('Y/m/d @ H:i:s'); ?></strong> [ <a href="b2edit.php?p=<?php echo $id ?>&c=1"><?php comments_number('no comment', '1 comment', "% comments") ?><?php trackback_number('', ', 1 trackback', ', % trackbacks') ?><?php pingback_number('', ', 1 pingback', ', % pingbacks') ?></a>
    244238                <?php
    245239                if (($user_level > $authordata[13]) or ($user_login == $authordata[1])) {
    246                 echo " - <a href=\"b2edit.php?action=edit&post=".$postdata["ID"];
     240                echo " - <a href=\"b2edit.php?action=edit&amp;post=".$postdata["ID"];
    247241                if ($m)
    248242                echo "&m=$m";
    249243                echo "\">Edit</a>";
    250                 echo " - <a href=\"b2edit.php?action=delete&post=".$postdata["ID"]."\" onclick=\"return confirm('You are about to delete this post \'".$row->post_title."\'\\n  \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> ";
     244                echo " - <a href=\"b2edit.php?action=delete&amp;post=".$postdata["ID"]."\" onclick=\"return confirm('You are about to delete this post \'".$row->post_title."\'\\n  \'Cancel\' to stop, \'OK\' to delete.')\">Delete</a> ";
    251245                }
    252246                ?>
     
    281275                    ?>
    282276
    283                     <a name="comments"></a>
    284                     <p><b><font color="#ff3300">::</font> comments</b></p>
     277                    <h3 id="comments">comments</h3>
    285278
    286279                    <?php
     
    295288                    <?php comment_text() ?>
    296289                    <br />
    297                     <?php comment_date('Y/m/d') ?> @ <?php comment_time() ?><br />
     290                    <?php comment_date('Y/m/d') ?> @ <?php comment_time() ?> 
    298291                    <?php
    299292                    if (($user_level > $authordata[13]) or ($user_login == $authordata[1])) {
     
    313306                    ?>
    314307
    315                     <p><b><font color="#ff3300">::</font> leave a comment</b></p>
     308                    <h3>Leave Comment</h3>
    316309
    317310
     
    325318                        <input type="text" name="url" class="textarea" value="<?php echo $user_url ?>" size="20" tabindex="3" /><br />
    326319                        <textarea cols="40" rows="4" name="comment" tabindex="4" class="textarea">comment</textarea><br />
    327                         <input type="checkbox" name="comment_autobr" value="1" checked tabindex="6" class="checkbox" /> Auto-BR (line-breaks become &lt;br> tags)<br />
    328320                        <input type="submit" name="submit" class="buttonarea" value="ok" tabindex="5" />
    329321
     
    339331                ?>
    340332            <br />
    341             </td>
    342         </tr>
     333
    343334    <?php
    344335
    345336    }
    346337    ?>
    347     </table>
    348 <?php echo $tablebottom ?>
    349 <br />
    350 <?php echo $tabletop ?>
     338
     339</div>
     340
     341<div class="wrap">
    351342<table width="100%">
    352343  <tr>
    353     <td valign="top" width="200">Show posts: </td>
     344    <td valign="top" width="200">Show posts:</td>
    354345    <td>
    355346      <table cellpadding="0" cellspacing="0" border="0">
     
    410401    </tr>
    411402  </table>
    412 <?php echo $tablebottom ?>
     403</div>
  • trunk/wp-admin/b2header.php

    r40 r44  
    11<?php
    22
    3 require_once("../b2config.php");
     3require("../b2config.php");
    44require_once($b2inc."/b2template.functions.php");
    55require_once("b2verifauth.php");
     
    1616get_currentuserinfo();
    1717
    18 $request = " SELECT * FROM $tablesettings ";
     18$request = "SELECT * FROM $tablesettings";
    1919$result = mysql_query($request);
    2020$querycount++;
     
    2424    $archive_mode=$row->archive_mode;
    2525    $time_difference=$row->time_difference;
    26     $autobr=$row->AutoBR;
    2726    $date_format=stripslashes($row->date_format);
    2827    $time_format=stripslashes($row->time_format);
     
    3130// let's deactivate quicktags on IE Mac and Lynx, because they don't work there.
    3231if (($is_macIE) || ($is_lynx))
    33     $use_quicktags=0;
     32    $use_quicktags = 0;
    3433
    3534$b2varstoreset = array('profile','standalone','redirect','redirect_url','a','popuptitle','popupurl','text', 'trackback', 'pingback');
     
    5150if ($standalone == 0) {
    5251
    53 ?><!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
    54 <html>
     52?><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
     53<html xmlns="http://www.w3.org/1999/xhtml">
    5554<head>
    56 <title>wordpress > <?php echo $title; ?></title>
    57 <link rel="stylesheet" href="b2.css" type="text/css">
    58 <style type="text/css">
    59 <!--
    60 <?php
    61 if (!$is_NS4) {
    62 ?>
    63 td.menutop {
    64     padding-top: 2px;
    65     padding-bottom: 2px;
    66     border-color: #999999;
    67     border-top-width: 1px;
    68     border-bottom-width: 1px;
    69     border-left-width: 0px;
    70     border-right-width: 0px;
    71     border-style: dashed;
    72 }
    73 textarea,input,select {
    74     background-color: #f0f0f0;
    75     border-width: 1px;
    76     border-color: #cccccc;
    77     border-style: solid;
    78     padding: 2px;
    79     margin: 1px;
    80     font-family: Georgia, "Times New Roman", Times, serif;
    81 }
    82 .checkbox {
    83 <?php
    84 if ((preg_match("/MSIE/",$HTTP_USER_AGENT)) && (!preg_match("/Mac/",$HTTP_USER_AGENT))) {
    85 ?>  background-color: #ffffff;
    86     border-width: 0px;
    87     padding: 0px;
    88     margin: 0px;
    89 }
    90 <?php
    91 }
    92 }
    93 ?>
    94 -->
    95 </style>
     55<title>WordPress > <?php echo $title; ?></title>
     56<link rel="stylesheet" href="b2.css" type="text/css" />
     57<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
     58
    9659<?php
    9760if ($redirect==1) {
     
    10669</script>
    10770<?php
    108 }
     71} // redirect
    10972?>
     73
    11074<script language="javascript" type="text/javascript">
    11175<!-- hiding from old terrible browsers
     
    11377    function profile(userID) {
    11478        window.open ("b2profile.php?action=viewprofile&user="+userID, "Profile", "width=500, height=450, location=0, menubar=0, resizable=0, scrollbars=1, status=1, titlebar=0, toolbar=0, screenX=60, left=60, screenY=60, top=60");
    115     }
    116 
    117     function preview(form) {
    118         var preview_date = "<?php echo date("Y-m-d H:i:s"); ?>";
    119         var preview_userid = "<?php echo $user_ID ?>";
    120         var preview_title = form.post_title.value;
    121         var preview_category = form.post_category.value;
    122         var preview_content = form.content.value;
    123         var preview_autobr = form.post_autobr.value;
    124         preview_date = escape(preview_date);
    125         preview_userid = escape(preview_userid);
    126         preview_title = escape(preview_title);
    127         preview_category = escape(preview_category);
    128         preview_content = escape(preview_content);
    129         preview_autobr = escape(preview_autobr);
    130         window.open ("<?php echo "$siteurl/$blogfilename" ?>?preview=1&preview_date="+preview_date +"&preview_userid="+preview_userid +"&preview_title="+preview_title +"&preview_category="+preview_category +"&preview_content="+preview_content +"&preview_autobr="+preview_autobr ,"Preview", "location=0,menubar=1,resizable=1,scrollbars=yes,status=1,toolbar=0");
    13179    }
    13280
     
    14088<body>
    14189
    142 <table width="100%" cellpadding="0" cellspacing="0" align="center">
    14390<?php
    14491if ($profile==0) {
     92    include('b2menutop.php');
     93}
    14594?>
    146 <tr height="60">
    147 <td valign="top">
    148 <?php include('b2menutop.php') ?>
    149 </td>
    150 </tr><tr>
     95
    15196<?php
    15297}
    15398?>
    154 <td valign="top">
    155 <div class="panelbody">
    156 <?php
    157 
    158 }
    159 ?>
  • trunk/wp-admin/b2menutop.php

    r40 r44  
    2525?>
    2626<li><a href="<?php echo $siteurl."/".$blogfilename; ?>">View site</a></li>
    27 <li><a href="<?php echo $siteurl ?>/b2login.php?action=logout">Logout</a></li>
     27<li id="last"><a href="<?php echo $siteurl ?>/b2login.php?action=logout">Logout</a></li>
    2828</ul>
     29<br clear="all" />
    2930
    3031<h2><?php echo $title; ?></h2>
  • trunk/wp-admin/b2team.php

    r38 r44  
    11<?php
    2 $title = "Team management";
     2$title = 'Team management';
    33/* <Team> */
    44   
     
    2121switch ($action) {
    2222   
    23 case "promote":
     23case 'promote':
    2424
    2525    $standalone = 1;
    26     require_once("./b2header.php");
     26    require_once('b2header.php');
    2727
    2828    if (empty($HTTP_GET_VARS["prom"])) {
    29         header("Location: b2team.php");
     29        header('Location: b2team.php');
    3030    }
    3131
     
    3333    $prom = $HTTP_GET_VARS["prom"];
    3434
    35     $user_data=get_userdata($id);
    36     $usertopromote_level=$user_data[13];
     35    $user_data = get_userdata($id);
     36    $usertopromote_level = $user_data[13];
    3737
    3838    if ($user_level <= $usertopromote_level) {
    39         die("Can't change the level of an user whose level is higher than yours.");
    40     }
    41 
    42     if ($prom == "up") {
     39        die('Can&#8217;t change the level of an user whose level is higher than yours.');
     40    }
     41
     42    if ('up' == $prom) {
    4343        $sql="UPDATE $tableusers SET user_level=user_level+1 WHERE ID = $id";
    44     } elseif ($prom == "down") {
     44    } elseif ('down' == $prom) {
    4545        $sql="UPDATE $tableusers SET user_level=user_level-1 WHERE ID = $id";
    4646    }
    47     $result=mysql_query($sql) or die("Couldn't change $id's level.");
    48 
    49     header("Location: b2team.php");
     47    $result = mysql_query($sql) or die("Couldn't change $id's level.");
     48
     49    header('Location: b2team.php');
    5050
    5151break;
    5252
    53 case "delete":
     53case 'delete':
    5454
    5555    $standalone = 1;
    56     require_once("./b2header.php");
     56    require_once('b2header.php');
    5757
    5858    $id = $HTTP_GET_VARS["id"];
    5959
    6060    if (!$id) {
    61         header("Location: b2team.php");
    62     }
    63 
    64     $user_data=get_userdata($id);
    65     $usertodelete_level=$user_data[13];
     61        header('Location: b2team.php');
     62    }
     63
     64    $user_data = get_userdata($id);
     65    $usertodelete_level = $user_data[13];
    6666
    6767    if ($user_level <= $usertodelete_level)
    68     die("Can't delete an user whose level is higher than yours.");
     68        die('Can&#8217;t delete an user whose level is higher than yours.');
    6969
    7070    $sql="DELETE FROM $tableusers WHERE ID = $id";
    71     $result=mysql_query($sql) or die("Couldn't delete user #$id.");
     71    $result = mysql_query($sql) or die("Couldn&#8217;t delete user #$id.");
    7272
    7373    $sql="DELETE FROM $tableposts WHERE post_author = $id";
    74     $result=mysql_query($sql) or die("Couldn't delete user #$id's posts.");
    75 
    76     header("Location: b2team.php");
     74    $result = mysql_query($sql) or die("Couldn&#8217;t delete user #$id&#8217;s posts.");
     75
     76    header('Location: b2team.php');
    7777
    7878break;
     
    8080default:
    8181   
    82     $standalone=0;
    83     include ("./b2header.php");
     82    $standalone = 0;
     83    include ('b2header.php');
    8484    ?>
    85 <?php echo $blankline.$tabletop ?>
    86     <table cellspacing="0" cellpadding="5" border="0" width="100%">
    87     <tr>
    88     <td>Click on an user's login name to see his/her complete Profile.<br />
    89     To edit your Profile, click on your login name.</td>
    90     </tr>
    91 </table>
    92 <?php echo $tablebottom ?>
    93 <br />
    94 <?php echo $tabletop ?>
    95     <p><b>Active users</b>
     85
     86<div class="wrap"><p>Click on an user&#8217;s login name to see his complete profile.<br />
     87    To edit your profile, click on your login name.</p>
     88</div>
     89
     90<div class="wrap">
     91    <h3>Active users</h3>
    9692    <table cellpadding="5" cellspacing="0">
    9793    <tr>
     
    107103    </tr>
    108104    <?php
    109     $request = " SELECT * FROM $tableusers WHERE user_level>0 ORDER BY ID";
     105    $request = "SELECT * FROM $tableusers WHERE user_level>0 ORDER BY ID";
    110106    $result = mysql_query($request);
    111107    while($row = mysql_fetch_object($result)) {
     
    139135   
    140136    </table>
    141     </p>
    142 <?php echo $tablebottom ?>
     137
     138</div>
     139
    143140<?php
    144141    $request = " SELECT * FROM $tableusers WHERE user_level=0 ORDER BY ID";
     
    146143    if (mysql_num_rows($result)) {
    147144?>
    148 <br />
    149 <?php echo $tabletop ?>
    150     <p><b>Inactive users (level 0)</b>
     145<div class="wrap">
     146    <h3>Inactive users (level 0)</h3>
    151147    <table cellpadding="5" cellspacing="0">
    152148    <tr>
     
    192188   
    193189    </table>
    194     </p>
    195 <?php echo $tablebottom ?>
     190</div>
    196191
    197192    <?php
    198193    }
    199194    if ($user_level >= 3) { ?>
    200     <br />
    201 <?php echo $tabletop ?>
    202     To delete an user, bring his/her level to zero, then click on the red cross.<br />
    203     <b>Warning:</b> deleting an user also deletes all posts made by this user.
    204 <?php echo $tablebottom ?>
     195<div class="wrap">
     196  <p>To delete an user, bring his level to zero, then click on the red X.<br />
     197    <strong>Warning:</strong> deleting an user also deletes all posts made by this user.
     198  </p>
     199</div>
    205200    <?php
    206201}
     
    210205   
    211206/* </Team> */
    212 include("b2footer.php") ?>
     207include('b2footer.php');
     208?>
  • trunk/wp-admin/linkcategories.php

    r40 r44  
    102102    $auto_toggle=get_autotoggle($cat_id);
    103103?>
    104   <?php echo $blankline; ?>
    105   <?php echo $tabletop; ?>
     104<div class="wrap">
    106105  <p><b>Old</b> name: <?php echo $cat_name ?></p>
    107106  <p>
     
    115114    </form>
    116115  </p>
    117   <?php echo $tablebottom; ?>
     116</div>
    118117<?php
    119118    break;
     
    145144    }
    146145?>
    147 <?php echo $blankline ?>
    148 <?php echo $tabletop ?>
     146<div class="wrap">
    149147    <table width="" cellpadding="5" cellspacing="0" border="0">
    150148      <tr><td><b>Link Categories:</b></td></tr>
     
    187185    </table>
    188186
    189 <?php echo $tablebottom ?>
    190 <?php echo $blankline ?>
    191 
    192 <?php echo $tabletop ?>
     187</div>
     188
     189<div class="wrap">
    193190    <b>Note:</b><br />
    194191    Deleting a link category does not delete links from that category.<br />It will
    195192    just set them back to the default category <b><?php echo get_linkcatname(1) ?></b>.
    196 <?php echo $tablebottom ?>
    197 
    198 <?php echo $blankline ?>
     193</div>
    199194<?php
    200195    break;
     
    204199</table>
    205200
    206 <?php include("b2footer.php") ?>
     201<?php include('b2footer.php'); ?>
  • trunk/wp-admin/linkmanager.php

    r38 r44  
    3131include_once("../wp-links/links.php");
    3232
    33 $title = "Manage Links";
     33$title = 'Manage Links';
    3434
    3535function add_magic_quotes($array) {
     
    7070$links_show_cat_id = $HTTP_COOKIE_VARS["links_show_cat_id"];
    7171
    72 //error_log("start, links_show_cat_id=$links_show_cat_id"); 
     72// error_log("start, links_show_cat_id=$links_show_cat_id"); 
    7373
    7474switch ($action) {
    75   case "Add":
     75  case 'Add':
    7676  {
    7777    $standalone = 1;
    78     include_once("./b2header.php");
     78    include_once('b2header.php');
    7979
    8080    $link_url = $HTTP_POST_VARS["linkurl"];
     
    107107    $sql_result = mysql_query($sql) or die("Couldn't execute query."."sql=[$sql]". mysql_error());
    108108
    109     header("Location: linkmanager.php");
     109    header('Location: linkmanager.php');
    110110    break;
    111111  } // end Add
    112112
    113   case "editlink":
     113  case 'editlink':
    114114  {
    115115    if (isset($submit) && ($submit == "Save")) {
     
    125125
    126126      $standalone = 1;
    127       include_once("./b2header.php");
     127      include_once('b2header.php');
    128128
    129129      $link_id = $HTTP_POST_VARS["link_id"];
     
    165165  } // end Save
    166166
    167   case "Delete":
     167  case 'Delete':
    168168  {
    169169    $standalone = 1;
    170     include_once("./b2header.php");
     170    include_once('b2header.php');
    171171
    172172    $link_id = $HTTP_POST_VARS["link_id"];
     
    190190    break;
    191191  } // end Delete
    192   case "linkedit":
     192 
     193  case 'linkedit':
    193194  {
    194195    $standalone=0;
    195     include_once ("./b2header.php");
     196    include_once ('b2header.php');
    196197    if ($user_level < $minadminlevel) {
    197       die("You have no right to edit the links for this blog.<br>Ask for a promotion to your <a href=\"mailto:$admin_email\">blog admin</a> :)");
     198      die("You have no right to edit the links for this blog.<br />Ask for a promotion to your <a href=\"mailto:$admin_email\">blog admin</a>. :)");
    198199    }
    199200
     
    216217
    217218?>
    218     <?php echo $blankline ?>
    219     <?php echo $tabletop ?>
     219
     220<div class="wrap">
    220221    <table width="95%" cellpadding="5" cellspacing="0" border="0">
    221222    <form name="editlink" method="post">
     
    294295      </tr>
    295296    </table>
    296 
     297</div>
    297298<?php
    298299    break;
     
    345346  if ($action != "popup") {
    346347?>
    347     <?php echo $blankline ?>
    348     <?php echo $tabletop ?>
     348
     349<div class="wrap">
    349350    <form name="cats" method="post">
    350351    <table width="50%" cellpadding="5" cellspacing="0" border="0">
     
    397398    </form>
    398399
    399     <?php echo $tablebottom ?>
    400     <?php echo $blankline ?>
    401     <?php echo $tabletop ?>
     400</div>
     401
     402<div class="wrap">
    402403
    403404    <table width="100%" cellpadding="1" cellspacing="0" border="0">
     
    481482  } // end if !popup
    482483?>
    483     <?php echo $tablebottom ?>
    484     <?php echo $blankline ?>
    485 
    486     <?php echo $tabletop ?>
     484</div>
     485
     486<div class="wrap">
    487487
    488488    <table width="95%" cellpadding="5" cellspacing="0" border="0">
     
    556556      </tr>
    557557    </table>
    558 
     558</div>
     559
     560<div class="wrap">
     561<p>You can drag <a href="javascript:void(linkmanpopup=window.open('<?php echo $siteurl; ?>/wp-admin/linkmanager.php?action=popup&linkurl='+escape(location.href)+'&name='+escape(document.title),'Link Manager','scrollbars=yes,width=750,height=550,left=15,top=15,status=yes,resizable=yes'));linkmanpopup.focus();window.focus();linkmanpopup.focus();" title="Link add bookmarklet">link this</a> to your toolbar and when you click it a window will pop up that will allow you to add whatever site you're on to your links! Right now this only works on Mozilla or Netscape, but we're working on it.</p>
     562</div>
    559563<?php
    560564    break;
     
    563567?>
    564568
    565 <?php echo $tablebottom ?>
    566 
    567 <?php include("b2footer.php") ?>
     569
     570
     571<?php include('b2footer.php'); ?>
Note: See TracChangeset for help on using the changeset viewer.