$url="http://".preg_replace("%(/disk[0-9]/)|(/public_html)%i","",$dir); > //$url=preg_replace("%/%i","",$url); > $url=preg_replace("/www\./i","%",$url); > $url=$_SERVER['SERVER_NAME'].dirname($_SERVER['REQUEST_URI']); if (substr($url,-1)=="/") $url=substr($url,0,-1); if (substr($url,-1)=="/") $url=substr($url,0,-1); $conn=mysql_connect("localhost","mccbala","mccbala"); $conn=mysql_connect("localhost","mccbala","mccbala"); $db=mysql_select_db("geepriya_concerts",$conn); $db=mysql_select_db("geepriya_concerts",$conn); $details=""; $details=""; $result=mysql_query("SELECT CONCAT(`UPLOADER`,'-',`CONCERT_ID`) AS `ID`, CONCAT(`CONCERT $result=mysql_query("SELECT CONCAT(`UPLOADER`,'-',`CONCERT_ID`) AS `ID`, CONCAT(`CONCERT if (!$result) $details .= 'This album has not been tagged yet.'; if (!$result) $details .= 'This album has not been tagged yet.'; else if (mysql_num_rows($result)<=1) { else if (mysql_num_rows($result)<=1) { $notag=true; $notag=true; $details .= '
'.showdetails().''.showdetails().' | "; echo " Go to Parent Directory Go to Parent Directory "; echo " |
File Name | Size | File Name | Size | //echo "\t | |||||||||||
//echo "\t".$file | echo "\t | ".preg_
} }
} }
} }
} }
echo " | "; echo " | ";
include_once $commentfile; include_once $commentfile;
echo " | |