PHPFusion - tai laisvai platinama nemokama turinio valdymo sistema (TVS), kurios pagalba galite greitai, lengvai ir
patogiai susikurti norimą internetinį puslapį. Plačiau apie sistemą...
Jaunelis 2024 Lie. 25 11:07:43 Oho vis dar veikia svetainė Šimtas metų, matau Šaukykloje nuostalgija. Smagu panaršyt po forumą ir pažiūrėt senas temas
And2s 2024 Lie. 17 19:07:04 2008 pirmą kart čia patekau, man buvo 10m ir čia pramokau programavimo.. smagu skaityti senas žinutes, tokia nostalgija ačiū Ozz kad saugoji šitą kultūrinį reliktą
ozzWANTED 2024 Sau. 17 01:01:00 Desperatiškus komentarus šaukykloje su accountu po mėnesio prasibuvimo, ištryniau. Pasaulis ir taip juodas. Įjungiam šviesą, prašviesės.
if (file_exists(INFUSIONS."forum_threads_list_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."forum_threads_list_panel/locale/".$settings['locale'].".php";
} else { include INFUSIONS."forum_threads_list_panel/locale/English.php"; }
$min = 10; // minimum visible posts in first level.
$max = 10; // maximum number of posts in second level (hidden).
/*******************************************************************
* Start use with the BlueIce Theme for cellpic image
********************************************************************/
/*******************************************************************
* End use with the BlueIce Theme for cellpic image
********************************************************************/
$result = dbquery(
"SELECT tf.*, tt.*, tu.user_id, user_name, MAX(tp.post_id) as last_id,
COUNT(tp.post_id) as count_posts FROM ".$db_prefix."forums tf
INNER JOIN ".$db_prefix."threads tt USING(forum_id)
INNER JOIN ".$db_prefix."posts tp USING(thread_id)
INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
WHERE ".groupaccess('forum_access')." GROUP BY thread_id
ORDER BY thread_lastpost DESC LIMIT ".($min + $max)
);
if (dbrows($result) != 5) {
$i = 0;
opentable($locale['ftl100']);
echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>
<tr>
<td align='center' class='$class' width='10%' height='24'> </td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl120']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl124']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl123']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl107']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl108']."</b></span></td>
</tr>\n";
/*******************************************************************
* Start Threads Marked As Read Mod
********************************************************************
*******************************************************************
* End Threads Marked As Read Mod
********************************************************************/
/*******************************************************************
* Start Threads Marked As Read Mod
********************************************************************/
/*
$viewed_result = dbquery("SELECT threads FROM ".$db_prefix."viewed_threads WHERE user_id = '".$userdata['user_id']."'");
if (dbrows($viewed_result) != 0) {
$viewed_data = dbarray($viewed_result);
$viewed_data2 = explode(".", $viewed_data['threads']);
$viewed = array();
for($i = 0; $i < count($viewed_data2); $i ++) {
$viewed_data = explode("-", $viewed_data2[$i]);
$viewed[$viewed_data[0]] = $viewed_data[1];
}
if (!isset($viewed[$data['thread_id']]) || $viewed[$data['thread_id']] < $data['thread_lastpost']) {
$folder_image = $imagenew;
} else { $folder_image = $imageold; }
} else
*/
/*******************************************************************
* End Threads Marked As Read Mod
********************************************************************/
/*******************************************************************
* End search
********************************************************************/
if (file_exists(INFUSIONS."forum_threads_list_panel/locale/".$settings['locale'].".php")) {
include INFUSIONS."forum_threads_list_panel/locale/".$settings['locale'].".php";
} else { include INFUSIONS."forum_threads_list_panel/locale/English.php"; }
$min = 10; // minimum visible posts in first level.
$max = 10; // maximum number of posts in second level (hidden).
/*******************************************************************
* Start use with the BlueIce Theme for cellpic image
********************************************************************/
/*******************************************************************
* End use with the BlueIce Theme for cellpic image
********************************************************************/
$result = dbquery(
"SELECT tf.*, tt.*, tu.user_id, user_name, MAX(tp.post_id) as last_id,
COUNT(tp.post_id) as count_posts FROM ".$db_prefix."forums tf
INNER JOIN ".$db_prefix."threads tt USING(forum_id)
INNER JOIN ".$db_prefix."posts tp USING(thread_id)
INNER JOIN ".$db_prefix."users tu ON tt.thread_lastuser=tu.user_id
WHERE ".groupaccess('forum_access')." GROUP BY thread_id
ORDER BY thread_lastpost DESC LIMIT "5".($min + $max)
);
if (dbrows($result) != 5) {
$i = 0;
opentable($locale['ftl100']);
echo "<table cellpadding='0' cellspacing='1' width='100%' class='tbl-border'>
<tr>
<td align='center' class='$class' width='10%' height='24'> </td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl120']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl124']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl123']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl107']."</b></span></td>
<td align='center' class='$class'><span class='small'><b>".$locale['ftl108']."</b></span></td>
</tr>\n";
/*******************************************************************
* Start Threads Marked As Read Mod
********************************************************************
*******************************************************************
* End Threads Marked As Read Mod
********************************************************************/
/*******************************************************************
* Start Threads Marked As Read Mod
********************************************************************/
/*
$viewed_result = dbquery("SELECT threads FROM ".$db_prefix."viewed_threads WHERE user_id = '".$userdata['user_id']."'");
if (dbrows($viewed_result) != 0) {
$viewed_data = dbarray($viewed_result);
$viewed_data2 = explode(".", $viewed_data['threads']);
$viewed = array();
for($i = 0; $i < count($viewed_data2); $i ++) {
$viewed_data = explode("-", $viewed_data2[$i]);
$viewed[$viewed_data[0]] = $viewed_data[1];
}
if (!isset($viewed[$data['thread_id']]) || $viewed[$data['thread_id']] < $data['thread_lastpost']) {
$folder_image = $imagenew;
} else { $folder_image = $imageold; }
} else
*/
/*******************************************************************
* End Threads Marked As Read Mod
********************************************************************/
/*******************************************************************
* End search
********************************************************************/
nenoriu kurti naujos temas, taj rasau cia gal kas zino kaip pamodifikuot sia panele, kad uzejus ant nuorodos mestu ne i pirma temos zinute, o nuleistu i apacia ir rodytu pacia naujausia temos zinute ? PACHA - best club ever