$v) { if (is_array($v)) { $array[$k] = add_magic_quotes($v); } else { $array[$k] = addslashes($v); } } return $array; } if (!get_magic_quotes_gpc()) { $HTTP_GET_VARS = add_magic_quotes($HTTP_GET_VARS); $HTTP_POST_VARS = add_magic_quotes($HTTP_POST_VARS); $HTTP_COOKIE_VARS = add_magic_quotes($HTTP_COOKIE_VARS); } $b2varstoreset = array('action','standalone','cat_id', 'linkurl', 'name', 'image', 'description', 'visible', 'target', 'category', 'link_id', 'submit', 'order_by', 'links_show_cat_id', 'rating', 'rel'); for ($i=0; $iAsk for a promotion to your blog admin. :)"); } $sql = "SELECT link_url, link_name, link_image, link_target, link_description, link_visible, link_category AS cat_id, link_rating, link_rel " . " FROM $tablelinks " . " WHERE link_id = $link_id"; $result = mysql_query($sql) or die("Couldn't execute query.".mysql_error()); if ($row = mysql_fetch_object($result)) { $link_url = $row->link_url; $link_name = stripslashes($row->link_name); $link_image = $row->link_image; $link_target = $row->link_target; $link_category = $row->cat_id; $link_description = stripslashes($row->link_description); $link_visible = $row->link_visible; $link_rating = $row->link_rating; $link_rel = stripslashes($row->link_rel); } ?>
Edit a link:
URL:
Display Name/Alt text:
Image:
Description:
Rel:
Rating:  (Leave at 0 for no rating.)
Target:    
Visible:  
Category: \n"; while($row = mysql_fetch_object($result)) { echo " \n"; } echo " \n"; ?>
 
Ask for a promotion to your blog admin :)"); } switch ($order_by) { case 'order_id': $sqlorderby = 'id'; break; case 'order_url': $sqlorderby = 'url'; break; case 'order_desc': $sqlorderby = 'description'; break; case 'order_owner': $sqlorderby = 'owner'; break; case 'order_rating': $sqlorderby = 'rating'; break; case 'order_name': default: $sqlorderby = 'name'; break; } if ($action != "popup") { ?>
Link Categories:Manage Link CategoriesImport Blogroll
Show links in category:
Order by:
\n"; echo " \n"; while($row = mysql_fetch_object($result)) { echo " \n"; } echo " \n"; ?>
Add a link:
URL:
Display Name/Alt text:
Image:
Description:
Rel:
Rating:  (Leave at 0 for no rating.)
Target:   
Visible:  
Category: \n"; while($row = mysql_fetch_object($result)) { echo " \n"; } echo " \n"; ?>

You can drag link this 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.