Интересно как это не нашёл, если прямо на http://smartor.is-root.com/ в списке новостей они есть.

Код: Выделить всё
Photo Album 2.0.53 © 2002-2003 Smartor
Код: Выделить всё
<html>
<title>Recent Pic Test Page</title>
<head>
</head>
<body>
<?
$dbhost = ''; //this is you mysql server usually localhost
$dbname = ''; //Database name
$dbuser = ''; //Username
$dbpasswd = ''; //Password
$dbcon = mysql_connect($dbhost,$dbuser,$dbpasswd);
mysql_select_db($dbname);
?>
<table width="100%" cellpadding="3" cellspacing="1" border="0" class="forumline">
<tr>
<td class="catHead" height="28" colspan="2"><span class="cattitle">Latest Pic</span></td>
</tr>
<?php
$sql="SELECT c.*, p.*
FROM phpbb_album_cat AS c
LEFT JOIN phpbb_album AS p ON c.cat_id = p.pic_cat_id
WHERE cat_id <> 0
ORDER BY pic_id DESC
LIMIT 0,1";
$result = mysql_query($sql) or die;
while ($row = mysql_fetch_array($result))
{
print "<TR><TD align='center' class='row1'><a href='/phpBB2/album_page.php?pic_id=" . $row['pic_id'] . "'><img src='/phpBB2/album_thumbnail.php?pic_id=" . $row['pic_id'] . "'></a></TD></TR>";
print "<TR><TD align='left' class='row2'><span class='gensmall'><b>Title : </b>" . $row['pic_title'] . "<BR><b>Description : </b>" . $row['pic_desc'] . "<BR></P></span></a></TD></TR>";
}
?>
</table>
</body>
</head>
Код: Выделить всё
Parse error: parse error, unexpected '{' in /home/p/prostor.hut2.ru/WWW/includes/bbcode.php(149) : eval()'d code on line 86
Код: Выделить всё
// MULTI BBCODE-begin
Код: Выделить всё
##############################################################
## MOD Title: Photo Album sub-categories
## MOD Author: Rhygin < rhygin@ragga-jungle.com > (Rhygin) http://www.ragga-jungle.com
## MOD Description:
## This is a mod for the Photo Album mod by Smartor, and thus requires
## it to function. It allows you to add sub-categories to your albums.
Если не трудно кинь ссылку...rxu писал(а):Man
А может проще было поставитьКод: Выделить всё
############################################################## ## MOD Title: Photo Album sub-categories ## MOD Author: Rhygin < rhygin@ragga-jungle.com > (Rhygin) http://www.ragga-jungle.com ## MOD Description: ## This is a mod for the Photo Album mod by Smartor, and thus requires ## it to function. It allows you to add sub-categories to your albums.