"MagixCoder, post: 67654, member: 20373":
j'ai pensé reduir la zone titre mes je n'y arrive pas :(
[ATTACH type="full" alt="5301"]5301[/ATTACH]
if ($CURUSER) {
//check for new pm's
$res = SQL_Query_exec("SELECT COUNT(*) FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')");
$arr = mysqli_fetch_row($res);
$unreadmail = $arr[0];
if ($unreadmail)
print("<font color='#ff0000' size='3'><b><center><blink>You Got A New PM </font>[<a href='mailbox.php?inbox' target='_blank'>$unreadmail</a>]</blink></center></b></a></font> ");
} if ($CURUSER) {
//check for new pm's
$res = SQL_Query_exec("SELECT * FROM messages WHERE receiver=" . $CURUSER["id"] . " and unread='yes' AND location IN ('in','both')");
$arr = mysqli_num_rows($res)
if ($arr)
print("<font color='#ff0000' size='3'><b><center><blink>You Got A New PM </font>[<a href='mailbox.php?inbox' target='_blank'>click here to read</a>]</blink></center></b></a></font> ");
} $s = preg_replace("/\[ok]https:\/\/(?:www\.)*+ok\.ru\/video\/([\d\-]+)\[\/ok\]/", "<paramb style=\"width:720px; height:400px;\" name=\"movie\" value='http://cdn.iframe.ly/embed.js' allowFullScreen=\"true\"></param><iframe src='https://ok.ru/videoembed/$1' allow=\"encrypted-media\" type=\"application/x-shockwave-flash\" width=\"720\" height=\"400\"></iframe>", $s);[ok]https://ok.ru/video/1516943034346[/ok]<paramb style="width:720px; height:400px;" name="movie" value='http://cdn.iframe.ly/embed.js' allowFullScreen="true"></param><iframe src='https://ok.ru/videoembed/1516943034346' allow="encrypted-media" type="application/x-shockwave-flash" width="720" height="400"></iframe> "Propaganda, post: 67631, member: 60":
No luck, white page again.
// HTML
<div class="div-responsive">
<table>
<tr>
<td>Row 1</td>
<td>Row 2</td>
<td>Row 3</td>
</tr>
<tr>
<td>Row 1</td>
<td>Row 2</td>
<td>Row 3</td>
</tr>
</table>
</div>
// CSS
@media only screen and (max-width: 790px) {
.div-responsive {
max-width: 480px;
overflow-x: scroll;
white-space: nowrap;
}
}
"spiritblue, post: 67610, member: 401":
ok thank you, but it does not work your correction
case 'cover':
if (!empty($row['image1']))
{
$imgCover = '/uploads/images/' . htmlspecialchars($row['image1']);
}
else
{
$imgCover = 'images/nocover.jpg';
}
echo '<td class=ttable_col'.$x.' align="center"><img width="30" height="35" src="'.$imgCover.'"></td>';
break;$r2 = SQL_Query_exec("SELECT name, image FROM categories WHERE id=$a[category]");
$a2 = mysqli_fetch_assoc($r2);$r = SQL_Query_exec("SELECT torrents.id, torrents.name, torrents.size, torrents.added, torrents.seeders, torrents.leechers, torrents.category, categories.image
FROM torrents
LEFT JOIN categories
ON (categories.id = torrents.category)
WHERE (torrents.name LIKE {$query1}
AND torrents.seeders > '0'
AND torrents.id <> '$id')
OR
(name LIKE {$query2}
AND torrents.seeders > '0'
AND torrents.id <> '$id')
ORDER BY torrents.seeders
DESC LIMIT 10");
/**
* Hide admin panel from exploits with 404 header.
*
* @package hide_admin_panel_1.0
* @license GPLv3
* @author Shadows
* @version 1.0
*/
// Change 'class', to the minimal user class number that are not allowed to visit
if (!$CURUSER || $CURUSER['class'] < 4)
{
header('HTTP/1.1 404 Not Found');
// include_once 'your_404_custom_file.php'; // Include your 404 custom file if you use a custom error handlers.
exit;
}
else
{
header('HTTP/1.1 200 OK');
}
//check if IP is already a peer
if ($site_config["ipcheck"] && $site_config["accountmax"] > "0") {
$ip = $_SERVER['REMOTE_ADDR'];
$ipc = SQL_Query_exec("SELECT COUNT(ip) FROM users WHERE ip = '$ip'");
$ipq = mysqli_num_rows($ipc);
if ($ipq >= $site_config["accountmax"])
show_error_msg("Error","$site_config[SITENAME] only allows $site_config[accountmax] account per IP. If you would like to create a new account, please contact a staff member via PM or IRC.<br><br> The error was: <font color=red>maximum account count($site_config[accountmax]) exceeded for $ip($ipq), cannot proceed with signup.</font>",1);
} "niki, post: 67397, member: 20338":
Hello, ok thanks though the trackers use it :rolleyes: