$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_name': $sqlorderby = 'name'; 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_id': //fall through default: $sqlorderby = 'id'; 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"; ?>
link_url); if (strlen($short_url) > 35) { $short_url = substr($short_url, 0, 32).'...'; } echo("\n"); echo(" \n"); echo(" \n"); if ($row->link_image != null) { echo(" \n"); } else { echo(" \n"); } if ($row->link_visible == 'Y') { echo(" \n"); } else { echo(" \n"); } echo(" \n"); echo(" \n"); echo(" \n"); echo("\n"); echo("\n"); echo(" \n"); echo(" \n"); $my_rel = stripslashes($row->link_rel); if ($my_rel == '') { $my_rel = ' '; } echo(" \n"); echo(" \n"); echo(" \n"); echo(" \n"); echo("\n"); } ?>
URL Name Img? Vis? Category    
link_url."\">".$short_url."".stripslashes($row->link_name)."YNYN".stripslashes($row->category)."link_id'; document.forms['links'].action.value='linkedit'; \" value=\"Edit\" class=\"search\" />link_id'; document.forms['links'].action.value='Delete'; return confirm('You are about to delete this link.\\n \'Cancel\' to stop, \'OK\' to delete.'); \" value=\"Delete\" class=\"search\" />
Desc: ".stripslashes($row->link_description)."Rel:$my_relRating: ".$row->link_rating."Owner:".$row->user_login."
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.