Temos pavadinimas: WordPress, Shopify ir PHPFusion programuotojų bendruomenė :: v7 user_fields

Parašė tomukzzz· 2011 Gru. 30 14:12:33
#1

Sveiki, gal galetumet padaryti tokia linija kuri perskiria medali nuo aprasymo.

Dabar:


Reikia:


Kodas:

<?php
if (!defined("IN_FUSION")) { die("Access Denied"); }
include INFUSIONS."awards/infusion_db.php";
 
if ($profile_method == "input") {
 
} elseif ($profile_method == "display") {
	$result = dbquery("SELECT * FROM ".DB_AWARD." WHERE award_user='".$user_data['user_id']."'");
	echo "<tr>\n";
	echo "<td width='1%' class='tbl1' style='white-space:nowrap'>".$locale['uf_award']."</td>\n";
	echo "</tr>\n";
	while ($award = dbarray($result)) {
		echo "<tr>\n";
		echo "<td align='left' class='tbl1'><img src='".INFUSIONS."awards/images/awards/".$award['award_img']."'> ".$award['award_info']."</td>\n";
		echo "</tr>\n";
	}
} elseif ($profile_method == "validate_insert") {
 
} elseif ($profile_method == "validate_update") {
 
}
 
 
 
?>