",$_POST['comment']); $_POST['comment'] = ereg_replace( "\"",""",$_POST['comment']); $_POST['comment'] = ereg_replace( "'","´",$_POST['comment']); mysql_query("INSERT INTO ".$GLOBALS['db_slo_app_comment']." VALUES (0,'".$_POST['id']."','".$GLOBALS['login']."',CURRENT_TIMESTAMP,'".$_POST['comment']."')") or die("ERROR ".__LINE__.": ".mysql_error()); } $res = mysql_query("SELECT * FROM ".$GLOBALS['db_wallz_subgroups']." WHERE fname='".$name."'") or die("ERROR ".__LINE__.": ".mysql_error()); $ar = mysql_fetch_array($res); $res2 = mysql_query("SELECT * FROM ".$GLOBALS['db_groups']." WHERE id='".$ar[subg]."'") or die("ERROR ".__LINE__.": ".mysql_error()); $ar2 = mysql_fetch_array($res2); $res3 = mysql_query("SELECT * FROM ".$GLOBALS['db_app_list']." WHERE nid='".$ar[id]."'") or die("ERROR ".__LINE__.": ".mysql_error()); $ar3 = mysql_fetch_array($res3); if(!empty($ar[slo_sname])) $ar[sname] = $ar[slo_sname].' ('.$ar[sname].')'; if(!empty($ar[slo_description])) $ar[description] = $ar[slo_description]; if(!empty($ar3[slo_description])) $ar3[fulldesc] = $ar3[slo_description]; include($sb_table_inc); echo "
"; if(isset($showapp_top)) echo $showapp_top; else echo $top; if(file_exists("./gfx/icons/$ar[picture]") && !empty($ar[picture])) echo ''; echo '

'._APPLICATION.': '.$ar[sname].'

'; if(!empty($ar3[developer])) echo ''._AUTHOR.': '.$ar3[developer].'
'; echo ''._CATEGORY.': '.$ar[sname].'
'; echo '
'; echo ttl($ar[description]).'
'; if (!empty($ar3[picture])) echo '

'.$ar[sname].'



'; if (!empty($ar3[fulldesc])) echo $ar3[fulldesc]."

"; echo "
"; echo 'Gallery  '; if (!empty($ar3[dl_link])) echo 'Download Appication  '; if (!empty($ar[page])) echo 'Visit Homepage
'; $m=0; echo '
'; echo "
"; echo ""; echo ""; echo ""; echo "
"; echo "
"._TOP_5_SKINS."
"; echo "
"; echo ''; $query = "SELECT * FROM ".$GLOBALS['db_wallz']." WHERE section='".$ar[fname]."' ORDER BY rating DESC LIMIT 9 "; $resw = mysql_query($query) or die("ERROR ".__LINE__.": ".mysql_error()); while($arw = mysql_fetch_array($resw)) { $m++; if($m==1) echo ''; echo ''; if($m == 3) { echo ''; $m=0; } } echo '
'; echo ''.$ar[sname].''; echo '
'; $res5 = mysql_query("SELECT * FROM ".$GLOBALS['db_slo_app_comment']." WHERE nid='".$ar[id]."' ORDER BY datum") or die("ERROR ".__LINE__.": ".mysql_error()); $num= mysql_num_rows($res5); if($num>0) { echo '
'; echo ''; echo ''; echo ''; echo '
'; echo '
'._USER_COMMENTS.'
'; echo '
'; echo ''; echo ''; $x=0; while ($ar5 = mysql_fetch_array($res5)) if (!empty($ar5[author])) { $x++; if($x == 2) { $x = 0; $myCol = $color05; } else $myCol = $color06; echo ""; } echo "
'._AUTHOR.' '._DESCRIPTION.'
$ar5[author] ".smiley(ttl($ar5[tekst]))."
"; } if (!empty($GLOBALS['login'])) { ?>
_ADD_COMMENT

'; $rsm = mysql_query("SELECT * FROM ".$GLOBALS['db_smileys']) or die("ERROR ".__LINE__.": ".mysql_error()); while($arm = mysql_fetch_array($rsm)) echo ''; echo '
'.$arm[code].'
'; ?>