$top_menu = "my";
$grey_box = "My Tradeinfo > My Folder > Mobile Rington";
$green_box = "My Folder";
$green_box_img = "icon_popup.gif";
include("../include/header.php");
function getfilesize($size) {
if(!$size) return "0 Byte";
if($size<1024) {
return ($size." Byte");
} elseif($size >1024 && $size< 1024 *1024) {
return sprintf("%0.1f KB",$size / 1024);
}
else return sprintf("%0.2f MB",$size / (1024*1024));
}
?>
|
if(!$_SESSION['p_id']){ err_msg('Place login.'); exit; } ?>
Hi, ".$myinfo_row['id'].""; }?> |
|
|
|
|
|
|
|
|
|
|
|
$sql="select * from rington WHERE 1 ";
if($_REQUEST['name']){
//$sql .= " AND (name LIKE '$_REQUEST[name]%')";
$sql .= " AND (name LIKE '";
$sql .= $_REQUEST['name'];
$sql .= "%')";
}
if($_REQUEST['keyword']){
$sql .= " AND (name LIKE '%";
$sql .= $_REQUEST['keyword'];
$sql .= "%') OR (owner LIKE '%";
$sql .= $_REQUEST['keyword'];
$sql .= "%')";
}
$sql .= " ORDER BY name";
$result=mysqli_query($connect, $sql);
?>
Name(Sung by) |
Poly |
Size |
Listen |
Download |
for($i=0;$rows=mysqli_fetch_array($result);$i++){
if($search) {
$keyword_pattern="/$name/i";
$rows[name]=preg_replace($keyword_pattern,"$name",$rows[name]);
$rows[owner]=preg_replace($keyword_pattern,"$name",$rows[owner]);
}
?>
|
|
|
$file_src = "../../music_nz/ringtone/".$rows[src];
$file_size1=GetFileSize(filesize($file_src));
echo $file_size1; $a_file_link1="
|
|
echo "$a_download1";?>> () |
} mysqli_free_result($result); ?>
|
|
|
|
|
|
|
|
|
|
|
|
|
|
//print_r($_REQUEST);
include "../include/footer.php"; //
?>