|
v7 Comments_panel_include
|
| Bonqe |
parašyta 2011-03-11 20:27
|
Naujokas

Reputacija:
0
Pranešimai: 19
Įstojo: 2010-09-11
|
Kaip padaryti, kad paspaudus 'Toliau' nuvestu tikslei t komentar, o ne i t nuotrauk, naujien ar siuntin kur tas komentaras yra para?ytas?
Netinkamas paveiksliukas
Atsisisti Comments_panel_include.php |
| |
|
|
| Bamas |
parašyta 2011-03-11 20:35
|

Draugas

Reputacija:
0
Pranešimai: 492
Įstojo: 2009-06-18
|
jis cia rimtai?Ar as cia kazko nesuprantu :D Kur tau ta komentara turi tada rodyti ? :D
Redagavo Bamas 2011-03-11 20:36 |
| |
|
|
| Wyciokazz |
parašyta 2011-03-11 20:52
|

Administratorius

Reputacija:
1
Pranešimai: 2108
Įstojo: 2008-02-27
|
Tos paneles koda imesk perdarysiu ta paspaudima.
Kam kurti tai kas jau sukurta.
Nesu ekstrasensas ar dar koks čigonas tad iš nieko negaliu suprast kur bėda.
[img]http://27.media.tumblr.com/tumblr_m3hdwudgjG1rteofuo1_500.gif[/img] |
| |
|
|
| Bonqe |
parašyta 2011-03-11 21:52
|
Naujokas

Reputacija:
0
Pranešimai: 19
Įstojo: 2010-09-11
|
Kaip ir buvau djas atsisiuntimui jau..
Code
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fusion.co.uk/
+--------------------------------------------------------+
| Filename: comments_panel_inclide
| Author: Paslaptinga
| Web : http://*a?*/
+--------------------------------------------------------+*/
if (!defined(\"IN_FUSION\")) { die(\"Access Denied\"); }
if (file_exists(INFUSIONS.\"comments_panel_include/locale/\".$settings['locale'].\".php\")) {
include INFUSIONS.\"comments_panel_include/locale/\".$settings['locale'].\".php\";
} else {
include INFUSIONS.\"comments_panel_include/locale/Lithuanian.php\";
}
$com_per_page = \"5\"; // Number of comments to show
openside(\"\".$locale['c100'].\"\");
include_once INCLUDES.\"bbcode_include.php\";
$i = 0;
$result = dbquery(
\"SELECT * FROM \".DB_COMMENTS.\" LEFT JOIN \".DB_USERS.\"
ON \".DB_COMMENTS.\".comment_name=\".DB_USERS.\".user_id
ORDER BY comment_datestamp DESC LIMIT $com_per_page\"
);
if (dbrows($result)) {
echo \"\";
while ($data = dbarray($result)) {
echo \"\n\";
echo \"\";
echo ($data['user_avatar'] ? \" \" : \" \");
echo ($data['user_name'] ? \" \".$data['user_name'].\"\" : $data['comment_name'].\"\");
$comment_message = trimlink($data['comment_message'], 55);
$comment_item_id = $data['comment_item_id'];
$comment_type = $data['comment_type'];
$comment_message = parseubb(parsesmileys($comment_message), \"thanks|b|i|u|url|color|quote|code|blink|leech\"); // b|i|u|url|color = bbcodes to be parsed
echo \" \".$locale['global_071'].showdate(\"longdate\", $data['comment_datestamp']).\" \".$comment_message.\"\";
// Default PHP-Fusion Comment types
if ($data['comment_type'] == \"N\") {
echo \" \".$locale['global_072'].\"\";
}
else if ($data['comment_type'] == \"A\") {
echo \" \".$locale['global_072'].\"\";
}
else if ($data['comment_type'] == \"C\") {
echo \" \".$locale['global_072'].\"\";
}
else if ($data['comment_type'] == \"P\") {
echo \" \".$locale['global_072'].\"\";
}
//Custom Comment types
else if ($data['comment_type'] == \"U\") {
echo \" \".$locale['global_072'].\"\";
}
//Custom siunntimu types
else if ($data['comment_type'] == \"F\") {
echo \" \".$locale['global_072'].\"\";
}
//Custom balsavimas types
else if ($data['comment_type'] == \"PK\") {
echo \" \".$locale['global_072'].\"\";
}
//Projektas types
else if ($data['comment_type'] == \"TD\") {
echo \" \".$locale['global_072'].\"\";
}
//Custom balsavimas types
else if ($data['comment_type'] == \"\") {
echo \" \".$locale['global_072'].\"\";
}
//Projektas types
else if ($data['comment_type'] == \"\") {
echo \" \".$locale['global_072'].\"\";
}
else { //If it can't figure out what comment type this is
echo \" (N/N)\";
}
echo \"\";
echo \" | \n \n\";
$i++;
}
echo \" \";
} else {
echo \" \".$locale['c101'].\"
\n\";
}
closeside();
?>
|
| |
|
|
| Wyciokazz |
parašyta 2011-03-11 23:43
|

Administratorius

Reputacija:
1
Pranešimai: 2108
Įstojo: 2008-02-27
|
Code
/*-------------------------------------------------------+
| PHP-Fusion Content Management System
| Copyright (C) 2002 - 2008 Nick Jones
| http://www.php-fu...
+--------------------------------------------------------+
| Filename: comments_panel_inclide
| Author: Paslaptinga
| Web : http://*a?*/
+--------------------------------------------------------+*/
if (!defined(\"IN_FUSION\")) { die(\"Access Denied\"); }
if (file_exists(INFUSIONS.\"comments_panel_include/locale/\".$settings['locale'].\".php\")) {
include INFUSIONS.\"comments_panel_include/locale/\".$settings['locale'].\".php\";
} else {
include INFUSIONS.\"comments_panel_include/locale/Lithuanian.php\";
}
$com_per_page = \"5\"; // Number of comments to show
openside(\"\".$locale['c100'].\"\");
include_once INCLUDES.\"bbcode_include.php\";
$i = 0;
$result = dbquery(
\"SELECT * FROM \".DB_COMMENTS.\" LEFT JOIN \".DB_USERS.\"
ON \".DB_COMMENTS.\".comment_name=\".DB_USERS.\".user_id
ORDER BY comment_datestamp DESC LIMIT $com_per_page\"
);
if (dbrows($result)) {
echo \"\";
while ($data = dbarray($result)) {
echo \"\n\";
echo \"\";
echo ($data['user_avatar'] ? \" \" : \" \");
echo ($data['user_name'] ? \" \".$data['user_name'].\"\" : $data['comment_name'].\"\");
$comment_message = trimlink($data['comment_message'], 55);
$comment_item_id = $data['comment_item_id'];
$comment_type = $data['comment_type'];
$comment_message = parseubb(parsesmileys($comment_message), \"thanks|b|i|u|url|color|quote|code|blink|leech\"); // b|i|u|url|color = bbcodes to be parsed
echo \" \".$locale['global_071'].showdate(\"longdate\", $data['comment_datestamp']).\" \".$comment_message.\"\";
// Default PHP-Fusion Comment types
if ($data['comment_type'] == \"N\") {
echo \" \".$locale['global_072'].\"\";
}
else if ($data['comment_type'] == \"A\") {
echo \" \".$locale['global_072'].\"\";
}
else if ($data['comment_type'] == \"C\") {
echo \" \".$locale['global_072'].\"\";
}
else if ($data['comment_type'] == \"P\") {
echo \" \".$locale['global_072'].\"\";
}
//Custom Comment types
else if ($data['comment_type'] == \"U\") {
echo \" \".$locale['global_072'].\"\";
}
//Custom siunntimu types
else if ($data['comment_type'] == \"F\") {
echo \" \".$locale['global_072'].\"\";
}
//Custom balsavimas types
else if ($data['comment_type'] == \"PK\") {
echo \" \".$locale['global_072'].\"\";
}
//Projektas types
else if ($data['comment_type'] == \"TD\") {
echo \" \".$locale['global_072'].\"\";
}
//Custom balsavimas types
else if ($data['comment_type'] == \"\") {
echo \" \".$locale['global_072'].\"\";
}
//Projektas types
else if ($data['comment_type'] == \"\") {
echo \" \".$locale['global_072'].\"\";
}
else { //If it can't figure out what comment type this is
echo \" (N/N)\";
}
echo \"\";
echo \" | \n \n\";
$i++;
}
echo \" \";
} else {
echo \" \".$locale['c101'].\"
\n\";
}
closeside();
?>
Kam kurti tai kas jau sukurta.
Nesu ekstrasensas ar dar koks čigonas tad iš nieko negaliu suprast kur bėda.
[img]http://27.media.tumblr.com/tumblr_m3hdwudgjG1rteofuo1_500.gif[/img] |
| |
|
|
| Bonqe |
parašyta 2011-03-12 10:27
|
Naujokas

Reputacija:
0
Pranešimai: 19
Įstojo: 2010-09-11
|
http://www62.zippyshare.com/v/78578833/file.html
A? gal prait kart blog kod daviau, nes man ir su tuo mano duotu i?sikraipo tinklapis ir su tavo modifikuotu. Gal galtum dar kart tapat padaryti?
Redagavo Bonqe 2011-03-12 10:28 |
| |
|
|
| Wyciokazz |
parašyta 2011-03-12 10:38
|

Administratorius

Reputacija:
1
Pranešimai: 2108
Įstojo: 2008-02-27
|
http://dl.dropbox...nclude.php
Kam kurti tai kas jau sukurta.
Nesu ekstrasensas ar dar koks čigonas tad iš nieko negaliu suprast kur bėda.
[img]http://27.media.tumblr.com/tumblr_m3hdwudgjG1rteofuo1_500.gif[/img] |
| |
|
|
| Bonqe |
parašyta 2011-03-12 10:46
|
Naujokas

Reputacija:
0
Pranešimai: 19
Įstojo: 2010-09-11
|
Su foto galerija vistiek neveikia. Nuveda tik prie tos foto pra?ios, o poto reikia verst puslapius ir ie?kot to paskutinio komentaro. |
| |
|
|
| Wyciokazz |
parašyta 2011-03-12 11:13
|

Administratorius

Reputacija:
1
Pranešimai: 2108
Įstojo: 2008-02-27
|
web url duok.
Kam kurti tai kas jau sukurta.
Nesu ekstrasensas ar dar koks čigonas tad iš nieko negaliu suprast kur bėda.
[img]http://27.media.tumblr.com/tumblr_m3hdwudgjG1rteofuo1_500.gif[/img] |
| |
|
|
| Bonqe |
parašyta 2011-03-12 13:33
|
Naujokas

Reputacija:
0
Pranešimai: 19
Įstojo: 2010-09-11
|
http://www.nwk.lt |
| |
|