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.
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=cp1251" />
</head>
<script type="text/javascript" src="http://music-bg.info/expando.js">
<script src="leader.js" type="text/javascript"></script>
<script type="text/javascript">function otidi(forma) {
var index=forma.select.selectedIndex
if (forma.select.options[index].value.length != 0) {
location.replace(forma.select.options[index].value);
}
} </script>
<?php
include_once "configs.php";
echo '<meta http-equiv="Content-Type" content="text/html; charset=cp1251">';
if (!isset($_GET['page']))
{
$page = 1;
}
else
{
$page = $_GET['page'];
}
echo "<table bgcolor='white' border='1' style='border-collapse: collapse' bordercolor='#909090' width='765'>";
echo "<tr>";
$max_results = 12;
$from = (($page * $max_results) - $max_results);
// старт
$mysql = mysql_query("SELECT * FROM clips ORDER BY id DESC LIMIT $from, $max_results");
echo "<table border=\"0\" cellspacing=\"5\" align=\"center\"><tr>";
$i = "1";
while ($r = mysql_fetch_array($mysql))
{
$ime = $r[ime];
$pic = $r[pic];
$url = $r[url];
if (strlen($ime) > 25)
{
$t = '...';
}
$ime = substr($ime, 0, 25);
if ($pic != null)
{
echo "<td width=\"110\" align=\"center\" border=\"100\" background=\"images/1/bg1.png\">
<a href=\"viewv.php?id=$r[id]\" onmouseover=\"return overlib('$r[ime]')\" onmouseout=\"return nd();\"><img src=\"$pic\" border=\"2\" width=\"110\" height=\"100\"></div><br><b>$ime$t</a>";
$i++;
}
else
{
echo "<td><tr><a href='viewv.php?id=$vid' title='$title'><img src='no.JPEG' border='0' alt='$title'></a></tr></td>";
$i++;
}
if ($i > 4)
{
echo "</tr><tr>";
$i = "1";
}
}
echo "</tr></table>";
echo "<br>";
echo "<center>Страници: ";
// стоп
$total_results = mysql_result(mysql_query("SELECT COUNT(*) as Num FROM clips"),
0);
$total_pages = ceil($total_results / $max_results);
if ($page > 1)
{
$prev = ($page - 1);
echo "<a href=\"" . $_SERVER['PHP_SELF'] . "?page=$prev\"></a> ";
}
for ($i = 1; $i <= $total_pages; $i++)
{
if (($page) == $i)
{
echo "$i ";
}
else
{
echo "<a href=\"" . $_SERVER['PHP_SELF'] . "?page=$i\">$i</a> ";
}
}
if ($page < $total_pages)
{
$next = ($page + 1);
echo "<a href=\"" . $_SERVER['PHP_SELF'] . "?page=$next\"></a>";
}
echo "</center>";
?>
</body>
</html>
<style>
.lqlq:hover
{
filter: alpha(opacity=65);
-moz-opacity: 0.65;
opacity: 0.65;
border: 2px solid white ;
}
</style>
<a href="#"><img class="lqlq" src="http://prikachi.com/files/1492590T.jpg"></a>
<img class='lqlq' src='$pic'>