// ******************************************************************* // admin/categories.php // ******************************************************************* include("../include/config.php"); include("../include/functions.php"); include("../include/common.php"); $language = $gl["Language"]; include("../include/lang/$language.php"); include("../include/session.php"); session_start(); if(isset($RPID)){$PID = $RPID;} if(!isset($PID)){$PID = 0;} ?>
|
|||||||||||
| Categories | Allow Sites |
Show Count |
# of Sites |
Child Type |
Child Count |
Edit Cats |
Related Cats |
Insert Child |
Delete Cats |
||
| "; echo eregi_replace("_"," ",$get_rows["Category"]) . " | "; echo "" . $get_rows["AllowSites"] . " | "; echo "" . $get_rows["ShowSiteCount"] . " | "; echo "" . $count_array["count"] . " | "; echo "" . $get_rows["Children"] . " | "; echo "" . $get_rows["TopChildren"] . " | "; echo "Edit | "; echo "Related | "; echo "Insert | "; echo "Delete | ||
| "; for($i=0;$i<1;$i++){ echo $pixel; } $count_sites = sql_query(" select count(*) as count from $tb_links where Category='$get_sub_rows[ID]' "); $count_array = sql_fetch_array($count_sites); echo ""; echo eregi_replace("_"," ",$get_sub_rows["Category"]) . " | "; echo "" . $get_sub_rows["AllowSites"] . " | "; echo "" . $get_sub_rows["ShowSiteCount"] . " | "; echo "" . $count_array["count"] . " | "; echo "" . $get_sub_rows["Children"] . " | "; echo "" . $get_sub_rows["TopChildren"] . " | "; echo "Edit | "; echo "Related | "; echo "Insert | "; echo "Delete | ||
| "; for($i=0;$i<2;$i++){ echo $pixel; } $count_sites = sql_query(" select count(*) as count from $tb_links where Category='$get_sub2_rows[ID]' "); $count_array = sql_fetch_array($count_sites); echo "" . eregi_replace("_"," ",$get_sub2_rows["Category"]); echo " | "; echo $get_sub2_rows["AllowSites"] . " | "; echo "" . $get_sub_rows["ShowSiteCount"] . " | "; echo "" . $count_array["count"] . " | "; echo "" . $get_sub2_rows["Children"]; echo " | " . $get_sub2_rows["TopChildren"]; echo " | "; echo "Edit | "; echo "Related | "; echo "Insert | "; echo "Delete | ||
| [ Insert Top Level Categories ] if(isset($PID) && $PID != 0){ ?>[ Insert Children Categories ] } ?> | |||||||||||