include("nav_left.php");?> |
|
|
|
|
|
echo mysql_result($RES_pg,0,"name");?> |
|
$SQL = "SELECT * FROM pageAttribute WHERE handle='".mysql_result($RES_pg,0,"id")."' ORDER BY orderNum";
$RES = mysql_query($SQL) or exit ("Couldn't execute query");
$ROW = mysql_numrows($RES);
for($i=0;$i<$ROW;$i++){
?>
if(mysql_result($RES,$i,"type") == "header"){?>
|
echo mysql_result($RES,$i,"attribute1");?> |
|
}?>
if(mysql_result($RES,$i,"type") == "text"){?>
|
echo nl2br(mysql_result($RES,$i,"attribute1"));?> |
|
}?>
if(mysql_result($RES,$i,"type") == "text left"){?>
|
if(mysql_result($RES,$i,"attribute2") <> "na.gif"){?>
}?>
echo nl2br(mysql_result($RES,$i,"attribute1"));?> |
|
}?>
if(mysql_result($RES,$i,"type") == "text right"){?>
|
if(mysql_result($RES,$i,"attribute2") <> "na.gif"){?>
}?>
echo nl2br(mysql_result($RES,$i,"attribute1"));?> |
|
}?>
if(mysql_result($RES,$i,"type") == "point"){?>
|
• |
echo nl2br(mysql_result($RES,$i,"attribute1"));?> |
|
|
}?>
if(mysql_result($RES,$i,"type") == "link"){?>
}?>
if(mysql_result($RES,$i,"type") == "file"){?>
|
» |
" target="_blank" onMouseOver="window.status='Click to download!'; return true" onMouseOut="window.status=''; return true"> echo mysql_result($RES,$i,"attribute1");?> |
|
|
|
|
|
|
|
File
Type :
echo strrev(substr(strrev(strtoupper(mysql_result($RES,$i,"attribute2"))),0,3));?> |
File
Size :
echo substr(http_filesize("http://www.jradmin.com/sword/uploads/".mysql_result($RES,$i,"attribute2")."")/1000000,0,4);?>Mb
|
|
|
|
|
|
|
}?>
}?>
|
|
|
|