Follow along with the video below to see how to install our site as a web app on your home screen.
Бележка: This feature may not be available in some browsers.
<?php
$query = mysql_query("SELECT c.topic_time , c.topic_title,c.forum_id,c.topic_id, c.topic_replies,c.topic_type FROM phpbb_topics c , phpbb_forums f WHERE c.forum_id=f.forum_id and f.prune_freq like '0' ORDER BY c.topic_time DESC LIMIT 0,5") or die(mysql_error());
while($row = mysql_fetch_array($query)) {
if (strlen($row['c.topic_title'])>35) {
$totchki="...";
}
else {
$totchki="";
}
$row['c.topic_title']=substr($tema,0 , 35);
echo "<a href=\"forum/viewtopic.php?t=$row[topic_id]\" title=\"$row[topic_title]\">$row[topic_title]$totchki</a>";
}
?>
IzKuFeLiQqQqQ написа:
http://web-tourist.net/login/login/view.php?st=2156
<?php
define('IN_PHPBB', true);
define('IN_VALID', true);
$phpbb_root_path = (defined('PHPBB_ROOT_PATH')) ? PHPBB_ROOT_PATH : './forum/';
$phpEx = substr(strrchr(__FILE__, '.'), 1);
include($phpbb_root_path . 'common.' . $phpEx);
//Start session management
$user->session_begin();
$auth->acl($user->data);
$user->setup();
$query = mysql_query("SELECT c.topic_time , c.topic_title,c.forum_id,c.topic_id, c.topic_replies,c.topic_type FROM phpbb_topics c , phpbb_forums f WHERE c.forum_id=f.forum_id and f.prune_freq like '0' ORDER BY c.topic_time DESC LIMIT 0,5") or die(mysql_error());
while($row = mysql_fetch_array($query)) {
if (strlen($row['c.topic_title'])>35) {
$totchki="...";
}
else {
$totchki="";
}
$row['c.topic_title']=substr($tema,0 , 35);
echo "<div class=\"arrow\"> <a href=\"forum/viewtopic.php?t=$row[topic_id]\" title=\"$row[topic_title]\">$row[topic_title]$totchki</a></div>";
}
?>
<?php
$dbms = 'mysqli';
$dbhost = 'localhost';
$dbport = 'dbport';
$dbname = 'dbname';
$dbuser = 'root';
$dbpasswd = 'dbpass';
$table_prefix = 'phpbb_';
$acm_type = 'file';
$load_extensions = '';
$connect = mysql_connect($dbhost, $dbuser, $dbpasswd);
$db = mysql_select_db($dbname,$connect) or die ("Could not select database");
$chars = mysql_query("SET CHARACTER SET cp1251");
$query = mysql_query("SELECT c.topic_time , c.topic_title,c.forum_id,c.topic_id, c.topic_replies,c.topic_type FROM phpbb_topics c , phpbb_forums f WHERE c.forum_id=f.forum_id and f.prune_freq like '0' ORDER BY c.topic_time DESC LIMIT 0,5") or die(mysql_error());
while($row = mysql_fetch_array($query)) {
if (strlen($row['c.topic_title'])>35) {
$totchki="...";
}
else {
$totchki="";
}
$row['c.topic_title']=substr($tema,0 , 35);
echo "<div class=\"arrow\"> <a href=\"forum/viewtopic.php?t=$row[topic_id]\" title=\"$row[topic_title]\">$row[topic_title]$totchki</a></div>";
}
?>
да.nom3r1 каза:prefix-a на таблиците ти phpbb ли е?