Lots of changes that i had no time to commit
|
@ -2,38 +2,57 @@
|
|||
include "../scripts/setup.php";
|
||||
$page_title="Tags - Help";
|
||||
include "../scripts/pageheader.php";
|
||||
|
||||
function seperator($cols){
|
||||
echo "<tr style=\"background-color:#000000;\" height=2><td colspan=$cols></td></tr>";
|
||||
}
|
||||
|
||||
$switch=0;
|
||||
|
||||
function add_tag($tag,$desc){
|
||||
global $switch;
|
||||
$switch=1-$switch;
|
||||
$color="FFFFFF";
|
||||
|
||||
if ($switch==1)
|
||||
$color="FFFFBD";
|
||||
|
||||
echo "<tr bgcolor=\"#$color\"><td style=\"text-align:center;\">$tag</td><td>$desc</td></tr>";
|
||||
}
|
||||
echo "<p><table>\n<tr><th width=30%>Tag</th><th>Description</th></tr>";
|
||||
|
||||
add_tag("mod","A Mod (use \"type\" radio buttons)");
|
||||
add_tag("modpack","A Mod pack (use \"type\" radio buttons)");
|
||||
add_tag("code","A C++ Code Modification (use \"type\" radio buttons)");
|
||||
add_tag("texture","A texture pack (use \"type\" radio buttons)");
|
||||
add_tag("sound","A sound pack (use \"type\" radio buttons)");
|
||||
seperator(2);
|
||||
add_tag("deco","Adds decorative blocks");
|
||||
add_tag("tech","Adds technical mods");
|
||||
add_tag("fun","Experiemental Mods");
|
||||
add_tag("server","Mods ideal for servers (low lag, tools)");
|
||||
add_tag("food","Mods that add food");
|
||||
add_tag("growing","Mods that add Plants");
|
||||
add_tag("mobs","Mods that add mobs");
|
||||
add_tag("util","Mods that add new features and actions to the game (eg: bones,falling_items,throwing)");
|
||||
add_tag("3d","Mods that use Node Boxes");
|
||||
add_tag("* graphics","Mods that improve the graphics of Minetest (eg: animated_torches, different player textures)");
|
||||
add_tag("* adventure","Mods that add an adventurous theme to the game (eg: traps, magic)");
|
||||
seperator(2);
|
||||
add_tag("envir","Changes the map generator");
|
||||
add_tag("biome","Adds a new biome to the game");
|
||||
seperator(2);
|
||||
add_tag("comic-txt","Cartoon Style Texture Packs");
|
||||
add_tag("real-txt","Realistic Style Texture Packs");
|
||||
add_tag("hd-txt","HD Texture Packs");
|
||||
?>
|
||||
|
||||
<p><table>
|
||||
<tr><th width=30%>Tag</th><th>Description</th></tr>
|
||||
<tr bgcolor="#FFFFBD"><td>mod</td><td>A Mod (use "type" radio buttons</td></tr>
|
||||
<tr><td>mpack</td><td>A Mod Pack (use "type" radio button)</td></tr>
|
||||
<tr bgcolor="#FFFFBD"><td>texture</td><td>A Texture Pack (use "type" radio button)</td></tr>
|
||||
<tr><td>sound</td><td>Adds Sounds to the game</td></tr>
|
||||
|
||||
<tr bgcolor="#FFFFBD"><td>deco</td><td>Adds basic decorating blocks to the game</td></tr>
|
||||
<tr><td>fun</td><td>fun mods for the game (mesecons, chess, carts)</td></tr>
|
||||
<tr bgcolor="#FFFFBD"><td>server</td><td>Mods ideal for servers</td></tr>
|
||||
<tr><td>food</td><td>Mods that add Food</td></tr>
|
||||
<tr bgcolor="#FFFFBD"><td>growing</td><td>Mods that add Plants and Growing</td></tr>
|
||||
<tr><td>mobs</td><td>Mods that add Mobs</td></tr>
|
||||
<tr bgcolor="#FFFFBD"><td>3d</td><td>Mods that use nodeboxes</td></tr>
|
||||
|
||||
<tr><td>envir</td><td>Changes the MapGen</td></tr>
|
||||
<tr bgcolor="#FFFFBD"><td>biome</td><td>Adds a new biome to the game</td></tr>
|
||||
|
||||
<tr><td>comic-txt</td><td>Comic/Cartoon style textures</td></tr>
|
||||
<tr bgcolor="#FFFFBD"><td>real-txt</td><td>Realistic style textures</td></tr>
|
||||
<tr><td>hd-txt</td><td>d</td></tr>
|
||||
|
||||
<tr bgcolor="#FFFFBD"><td>0.4.2</td><td>for 0.4.2-rc1 *</td></tr>
|
||||
<tr><td>0.4.1</td><td>for 0.4.1 *</td></tr>
|
||||
<tr bgcolor="#FFFFBD"><td>0.4</td><td>for 0.4 *</td></tr>
|
||||
</table></p>
|
||||
|
||||
And make up your own for search box searching.
|
||||
<br />
|
||||
* Which versions your mod/texture pack works on. You may add more than one of these tags
|
||||
|
||||
<p>
|
||||
* These do not appear in the <a href="../listing.php">tag listings</a> they are purely search keywords<br />
|
||||
+ Which versions your mod/texture pack works on. You may add more than one of these tags
|
||||
|
||||
<?php
|
||||
include "../scripts/pagefooter.php";
|
||||
|
|
After Width: | Height: | Size: 560 B |
After Width: | Height: | Size: 64 KiB |
After Width: | Height: | Size: 598 B |
After Width: | Height: | Size: 238 B |
After Width: | Height: | Size: 894 B |
After Width: | Height: | Size: 405 B |
After Width: | Height: | Size: 157 B |
15
index.php
|
@ -9,7 +9,10 @@
|
|||
include "scripts/pageheader.php";
|
||||
|
||||
if (is_logged_in())
|
||||
echo "<a href=\"addentry.php\">Add an entry</a><br /><br />";
|
||||
echo "<a href=\"addentry.php\">Add an entry</a> - ";
|
||||
|
||||
echo "<a href=\"listing.php\">Index of Entries</a> - <a href=\"viewmod.php?id=random\">Random Extension</a><br /><br />";
|
||||
|
||||
?>
|
||||
|
||||
<style type="text/css">
|
||||
|
@ -45,6 +48,16 @@ body {margin: 0px; padding: 0px;}
|
|||
|
||||
|
||||
<br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br /><br />
|
||||
<h2>Welcome to Minetest Extensions</h2>
|
||||
<?php
|
||||
/*if ($_SESSION['msg']==0){
|
||||
$_SESSION['msg']=1;
|
||||
echo "<p><b>Help us be telling us what you think about this interface! <a href=\"http://tinyurl.com/mtmdfrm\">Tell us</a></b></p>";
|
||||
}*/
|
||||
?>
|
||||
<p><b>Help us by telling us what you think about this interface! <a href=\"http://tinyurl.com/mtmdfrm\">Tell us</a></b></p>
|
||||
Minetest Mods, Texture packs and Sound Packs! All the things that customise Minetest perfectly for you!
|
||||
|
||||
|
||||
<?php
|
||||
include "scripts/pagefooter.php";
|
||||
|
|
55
listing.php
|
@ -1,14 +1,20 @@
|
|||
<?php
|
||||
include "scripts/setup.php";
|
||||
|
||||
function listSearch($query,$title,$description,$handle){
|
||||
echo "<tr><td width=16><img width=16 height=16 src=\"images/topicicon_read.jpg\" /></td><td><a href=\"search.php?id=$query\">$title</a></td><td>$description</td>";
|
||||
function listSearch($query,$title,$description,$handle,$icon){
|
||||
if (!$icon)
|
||||
$icon="images/topicicon_read.jpg";
|
||||
|
||||
echo "<tr><td width=16><img width=16 height=16 src=\"$icon\" /></td><td>";
|
||||
echo "<a href=\"search.php?id=$query\">$title</a></td>";
|
||||
echo "<td>$description</td>";
|
||||
|
||||
$num=getNoTopics($query,$handle);
|
||||
echo "<td>$num<td></tr>";
|
||||
echo "<td>$num<td></tr>\n";
|
||||
}
|
||||
|
||||
function seperator($cols){
|
||||
echo "<tr style=\"background-color:#000000;\" height=2><td colspan=$cols></td></tr>";
|
||||
echo "\n<!--Separator-->\n<tr style=\"background-color:#000000;\" height=2><td colspan=$cols></td></tr>\n\n";
|
||||
}
|
||||
$id=$_GET['id'];
|
||||
$page_title="Categories in $id";
|
||||
|
@ -31,42 +37,43 @@
|
|||
|
||||
//List Categories
|
||||
if ($id=="")
|
||||
listSearch("","All","All Items in order of popularity",$handle);
|
||||
listSearch("","All","All Items in order of popularity",$handle,"");
|
||||
if ($id=="mod" || $id==""){
|
||||
listSearch("mod","All Mods","All Mods in order of popularity",$handle);
|
||||
listSearch("modpack","All Mod Packs","All Mod Packs in order of popularity",$handle);
|
||||
listSearch("code","All C++ Code Mods","All C++ Code Mods in order of popularity",$handle);
|
||||
listSearch("mod","All Mods","All Mods in order of popularity",$handle,"");
|
||||
listSearch("modpack","All Mod Packs","All Mod Packs in order of popularity",$handle,"");
|
||||
listSearch("code","All C++ Code Mods","All C++ Code Mods in order of popularity",$handle,"");
|
||||
}
|
||||
|
||||
if ($id=="texture" || $id=="")
|
||||
listSearch("texture","All Texture Packs","All Texture Packs in order of popularity",$handle);
|
||||
listSearch("texture","All Texture Packs","All Texture Packs in order of popularity",$handle,"");
|
||||
|
||||
if ($id=="")
|
||||
listSearch("sound","All Sound Packs","All Sound Packs and Sound Mods in order of popularity",$handle);
|
||||
listSearch("sound","All Sound Packs","All Sound Packs and Sound Mods in order of popularity",$handle,"");
|
||||
|
||||
|
||||
if ($id=="mod" || $id==""){
|
||||
seperator(4);
|
||||
listSearch("deco","Block Adder Mods","Adds basic decorating blocks to the game (eg: moreblocks, homedecor)",$handle);
|
||||
listSearch("tech","Technical Mods","Technical Mods (eg: Mesecons, Technic)",$handle);
|
||||
listSearch("fun","Experimental Mods","Experimental mods for the game (eg: Chess, Mesecons, Carts)",$handle);
|
||||
listSearch("server","Server Interaction Mods","Mods ideal for servers (low lag, tools)(eg: antigrief, money)",$handle);
|
||||
listSearch("food","Food Mods","Mods that add food",$handle);
|
||||
listSearch("growing","Growing Mods","Mods that add Plants",$handle);
|
||||
listSearch("mobs","Mob Mods","Mods that add Mobs",$handle);
|
||||
listSearch("util","Utility Mods","Mods that add new feature and actons to the game (eg: bones,falling_items,throwing)",$handle);
|
||||
listSearch("3d","3D Object Mods","Mods that use NodeBoxes",$handle);
|
||||
listSearch("deco","Block Adder Mods","Adds basic decorating blocks to the game (eg: moreblocks, homedecor)",$handle,"");
|
||||
listSearch("tech","Technical Mods","Technical Mods (eg: Mesecons, Technic)",$handle,"icon/mesecon.png");
|
||||
listSearch("fun","Experimental Mods","Experimental mods for the game (eg: Chess, Mesecons, Carts)",$handle,"icon/carts.png");
|
||||
listSearch("server","Server Interaction Mods","Mods ideal for servers (low lag, tools)(eg: antigrief, money)",$handle,"icon/worldedit.png");
|
||||
listSearch("food","Food Mods","Mods that add food",$handle,"icon/food.png");
|
||||
listSearch("growing","Growing Mods","Mods that add Plants",$handle,"icon/farming.png");
|
||||
listSearch("mobs","Mob Mods","Mods that add Mobs",$handle,"");
|
||||
listSearch("graphics","Graphics","Mods that improve the graphics of Minetest (eg: animated_torches, different player textures)",$handle,"");
|
||||
listSearch("util","Utility Mods","Mods that add new feature and actons to the game (eg: bones,falling_items,throwing)",$handle,"");
|
||||
listSearch("3d","3D Object Mods","Mods that use NodeBoxes",$handle,"");
|
||||
|
||||
seperator(4);
|
||||
listSearch("envir","Enviroment Mods","Changes the map generator",$handle);
|
||||
listSearch("biome","Biome Mods","Adds a new biome to the game",$handle);
|
||||
listSearch("envir","Enviroment Mods","Changes the map generator",$handle,"icon/moreores.png");
|
||||
listSearch("biome","Biome Mods","Adds a new biome to the game",$handle,"icon/snow.png");
|
||||
}
|
||||
|
||||
if ($id=="texture" || $id==""){
|
||||
seperator(4);
|
||||
listSearch("comic-txt","Comic Style Textures","Cartoon Style Texture Packs",$handle);
|
||||
listSearch("real-txt","Realistic Textures","Realistic Styled Texture Packs",$handle);
|
||||
listSearch("hd-txt","HD Textures","HD Texture packs",$handle);
|
||||
listSearch("comic-txt","Comic Style Textures","Cartoon Style Texture Packs",$handle,"icon/haven.png");
|
||||
listSearch("real-txt","Realistic Textures","Realistic Styled Texture Packs",$handle,"icon/haven.png");
|
||||
listSearch("hd-txt","HD Textures","HD Texture packs",$handle,"icon/haven.png");
|
||||
}
|
||||
|
||||
/*seperator(4);
|
||||
|
|
|
@ -38,8 +38,8 @@ $result=str_replace("[/list]","</ul>",$result);
|
|||
$result=str_replace("[*]","<li>",$result);
|
||||
$result=str_replace("[/*]","</li>",$result);
|
||||
|
||||
$result=str_replace("[code]","<p><code style=\"border:solid;\">",$result);
|
||||
$result=str_replace("[/code]","</code></p>",$result);
|
||||
$result=str_replace("[code]","<table border=1><tr><td><pre>",$result);
|
||||
$result=str_replace("[/code]","</pre></td></tr></table>",$result);
|
||||
|
||||
$result=str_replace("[color=red]","<font color=\"#FF0000\">",$result);
|
||||
$result=str_replace("[color=green]","<font color=\"#00FF0000\">",$result);
|
||||
|
|
|
@ -9,7 +9,7 @@ if ($mode=="tags"){
|
|||
echo "<!--is numeric-->";
|
||||
$qu_str="SELECT * FROM mods WHERE owner=$query";
|
||||
}else{
|
||||
$qu_str="SELECT * FROM mods WHERE tags LIKE '%$query%' OR name LIKE '%$query%'";
|
||||
$qu_str="SELECT * FROM mods WHERE tags LIKE '%$query%' OR name LIKE '%$query%' OR overview LIKE '%$query%'";
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -2,10 +2,9 @@
|
|||
<html lang="en-gb">
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2">
|
||||
<meta name="Generator" content="Serif WebPlus X5 (13.0.3.029)">
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=EmulateIE8">
|
||||
<title><?php echo $page_title ?> - Minetest Mods</title>
|
||||
<meta name="keywords" content="">
|
||||
<meta name="keywords" content="minetest,mods,extension,community,download,listing,manager,mod,easy,rate,add">
|
||||
<meta name="author" content="Andrew Ward">
|
||||
<meta name="copyright" content="Copyright © to Andrew Ward">
|
||||
<meta http-equiv="Content-Language" content="en-gb">
|
||||
|
@ -34,6 +33,7 @@ if (is_logged_in()){
|
|||
|
||||
<div id="userbar" style="text-align:left;position:relative;left:10px;top:35px;width:180px;height=30px;"><?php
|
||||
echo "<a href=\"$serverpath/index.php\"><font color=\"#FFFFFF\"><u>Home</u></font></a> - ";
|
||||
echo "<a href=\"$serverpath/help/about.php\"><font color=\"#FFFFFF\"><u>About</u></font></a> - ";
|
||||
echo "<a href=\"$serverpath/user.php\"><font color=\"#FFFFFF\"><u>User List</u></font></a>";
|
||||
?></div>
|
||||
|
||||
|
|
|
@ -18,6 +18,7 @@ $serverpath="http://multa.bugs3.com/minetest/forum"; // The base url to the mod
|
|||
$sql_url="mysql.serversfree.com"; // The URL to the MySql Server
|
||||
$sql_user="u372522788_admin"; // The username for the MySql Server
|
||||
$sql_pass="password"; // The password for the MySql Server
|
||||
$sql_db="u372522788_minetest";
|
||||
|
||||
|
||||
// Email Address Settings
|
|
@ -1,5 +1,5 @@
|
|||
<?php
|
||||
include "settings.conf";
|
||||
include "settings.php";
|
||||
|
||||
|
||||
function is_member_moderator($user,$handle){
|
||||
|
@ -27,7 +27,7 @@ $handle = mysql_pconnect($sql_url,$sql_user,$sql_pass) or SQLerror("MySQL Databa
|
|||
if (!$handle || $handle==0)
|
||||
SQLerror("MySQL Database", "Error connecting to the MySQL database");
|
||||
|
||||
mysql_select_db("u372522788_minetest",$handle) or die("Error Switching DB");
|
||||
mysql_select_db($sql_db,$handle) or die("Error Switching DB");
|
||||
|
||||
function curPageURL() {
|
||||
$pageURL = 'http';
|
||||
|
@ -146,4 +146,19 @@ function cat_read($id,$handle){
|
|||
return false;
|
||||
}
|
||||
|
||||
function getDownload($mod){
|
||||
if ($mod[19]=="git"){
|
||||
return $mod[9]."/zipball/master";
|
||||
}else if ($mod[19]=="archive"){
|
||||
if (strstr($mod[7],"code")==true){
|
||||
return "code_mod.php?url=".$mod[9];
|
||||
}else{
|
||||
return $mod[9];
|
||||
}
|
||||
}else{
|
||||
}
|
||||
|
||||
return "";
|
||||
}
|
||||
|
||||
?>
|
||||
|
|
|
@ -1,4 +1,11 @@
|
|||
<?php
|
||||
|
||||
//
|
||||
// LIKES
|
||||
//
|
||||
//
|
||||
|
||||
|
||||
function likeMod($id,$user,$handle){
|
||||
echo "\n\n\n<!-- function likeMod($id,$user,$handle) is executing:\n";
|
||||
if (is_numeric($id)==false){
|
||||
|
@ -76,33 +83,4 @@ if (!$row)
|
|||
mysql_query("UPDATE mods SET likes=$tmp WHERE mod_id=$id",$handle) or die("Error on searching database.mods.mod_id for '$id'");
|
||||
}
|
||||
}
|
||||
|
||||
function changeDislikes($id,$user,$amount,$handle){
|
||||
echo "\n\n\n function changeDislikes($id,$user,$amount,$handle) is executing\n";
|
||||
|
||||
$res = mysql_query("SELECT * FROM mods WHERE mod_id=$id",$handle) or SQLerror("MySQL Query Error","Error on searching database.mods.mod_id for '$id'");
|
||||
$row = mysql_fetch_row($res);
|
||||
|
||||
if (!$row)
|
||||
return false;
|
||||
|
||||
$user_d = getUser($user,$handle);
|
||||
|
||||
if (!$user_d){
|
||||
echo "[Error]: user is null\n";
|
||||
return 0;
|
||||
}
|
||||
|
||||
if ($amount==1){
|
||||
$tmp=$user_d[9].$row[1].",";
|
||||
mysql_query("UPDATE users SET dislikes='$tmp' WHERE name='$user'",$handle) or die("Error on searching database.users.name for '$user'");
|
||||
$tmp=$row[6]+1;
|
||||
mysql_query("UPDATE mods SET dislikes=$tmp WHERE mod_id=$id",$handle) or die("Error on searching database.mods.mod_id for '$id'");
|
||||
}else{
|
||||
$tmp=str_replace($row[1].",","",$user_d[9]);
|
||||
mysql_query("UPDATE users SET dislikes='$tmp' WHERE name='$user'",$handle) or die("Error on searching database.users.name for '$user'");
|
||||
$tmp=$row[6]-1;
|
||||
mysql_query("UPDATE mods SET dislikes=$tmp WHERE mod_id=$id",$handle) or die("Error on searching database.mods.mod_id for '$id'");
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
|
23
viewmod.php
|
@ -13,14 +13,21 @@ if ($act=="like"){
|
|||
likeMod($id,$_SESSION['user'],$handle);
|
||||
}
|
||||
|
||||
$res=0;
|
||||
$gen_num=0;
|
||||
|
||||
if (is_numeric($id)==false){
|
||||
SQLerror("Non Integer","Non integers are not allowed in the id field. <br /> <a href=\"index.php\">Back to home</a>");
|
||||
if ($id=="random"){
|
||||
$gen_num= rand(0,getNoTopics("",$handle));
|
||||
$res = mysql_query("SELECT * FROM mods LIMIT $gen_num, 1",$handle);
|
||||
}else if (is_numeric($id)){
|
||||
$res = mysql_query("SELECT * FROM mods WHERE mod_id=$id",$handle) or SQLerror("MySQL Query Error","Error on searching database.mods.mod_id for '$id'");
|
||||
}else{
|
||||
SQLerror("Non Integer","Non integers are not allowed in the id field. <br /> <a href=\"index.php\">Back to home</a>");
|
||||
}
|
||||
|
||||
$res = mysql_query("SELECT * FROM mods WHERE mod_id=$id",$handle) or SQLerror("MySQL Query Error","Error on searching database.mods.mod_id for '$id'");
|
||||
$row = mysql_fetch_row($res) or SQLerror("Row Error","No results where found for a mod with the id $id");
|
||||
$row = mysql_fetch_row($res) or SQLerror("Row Error","No results where found for a mod with the id $gen_num");
|
||||
$page_title="View mod - {$row[1]}";
|
||||
$id=$row[0];
|
||||
|
||||
|
||||
// Substitute owner ID with owner name (by Phitherek_):
|
||||
|
@ -46,7 +53,7 @@ $links="";
|
|||
|
||||
|
||||
echo "<table width=\"900\"><tr><td>\n";
|
||||
echo "<table width=\"900\" bgcolor=\"#FFFFBD\"><tr><td width=\"100\"><a href=\"{$row[9]}\">Download</a></td>\n";
|
||||
echo "<table width=\"900\" bgcolor=\"#FFFFBD\"><tr><td width=\"100\"><a href=\"".getDownload($row)."\">Download</a></td>\n";
|
||||
|
||||
echo "<td width=\"650\">\n"; // Download Link
|
||||
echo "<h1 align=center>{$row[1]} - by <a href=\"user.php?id={$row[3]}\">{$owner}</a></h1></td>\n"; // Title and User Link
|
||||
|
@ -61,7 +68,7 @@ if (is_logged_in()==true){
|
|||
$like_ext="_high";
|
||||
|
||||
$dislike_ext="";
|
||||
echo "<td width=\"25\" style=\"vertical-align:top;\"><a href=\"viewmod.php?id=$id&action=like\"><img src=\"images/like_mod$like_ext.png\" alt=\"like\" /></a><br /><br /><a href=\"viewmod.php?id=$id&action=dislike\"><img src=\"images/dislike_mod$dislike_ext.png\" alt=\"dislike\" /></a></td></tr>"; // Likes
|
||||
echo "<td width=\"25\" style=\"vertical-align:top;\"><a href=\"viewmod.php?id=$id&action=like\"><img src=\"images/like_mod$like_ext.png\" alt=\"like\" /></a></td></tr>"; // Likes
|
||||
}else{
|
||||
echo "<td></td></tr>"; // Likes
|
||||
}
|
||||
|
@ -71,7 +78,7 @@ echo "<tr height=30 bgcolor=\"#FFFFBD\"><td style=\"text-align:right;\">$links&#
|
|||
|
||||
if (!($row[23]=="")){
|
||||
echo "<tr><td><br />Recommended Mods<br /></td></tr><tr></tr><tr height=\"80\"><td>\n";
|
||||
echo "<table height=\"80\"><tr>";
|
||||
echo "<table height=\"80\"><tr>\n";
|
||||
|
||||
$rec=explode(",",$row[23]);
|
||||
|
||||
|
@ -85,7 +92,7 @@ for ($i=0;$i<count($rec);$i++){
|
|||
if ($row_i[20])
|
||||
$image="icon/".$row_i[20];
|
||||
|
||||
echo "<td style=\"text-align:center;\"><a href=\"viewmod.php?id=$id_i\"><img height=100 width=100 src=\"$image\" title=\"{$row_i[1]}\" /></a><br /><b>{$row_i[1]}</b></td>";
|
||||
echo "<td style=\"text-align:center;\"><a href=\"viewmod.php?id=$id_i\"><img height=100 width=100 src=\"$image\" title=\"{$row_i[1]}\" /></a><br /><b>{$row_i[1]}</b></td>\n";
|
||||
}
|
||||
}
|
||||
|
||||
|
|