Citata:
<?php
global $userdata, $aidlink, $locale, $db_prefix, $theme_width, $result;
openside_panel($locale['001']);
$result=dbquery(
"SELECT ta.album_id,album_title,photo_id,photo_title,photo_thumb1 FROM ".DB_PREFIX."photo_albums ta ".
"JOIN ".DB_PREFIX."photos USING (album_id) ORDER BY photo_id DESC LIMIT 0,2"
if (dbrows($result) != 0) {
while($data = dbarray($result)) {
$itemdescription = trimlink($data['photo_title'], 23);
echo "<center><td style='padding-left: 100px;'><a href='http://themes-lt.eu/photogallery.php?photo_id=".$data['photo_id']."' title='".$data['photo_title']."'>
<img border='0' src='http://themes-lt.eu/images/photoalbum/album_".$data['album_id']."/".$data['photo_thumb1']."'
title='".$data['photo_title']."' alt='".$data['photo_title']."'/></a><br/>
<b><center><a href='http://themes-lt.eu/photogallery.php?photo_id=".$data['photo_id']."'>$itemdescription</a></b>
<br/>Kategorija:
<a href='http://themes-lt.eu/photogallery.php?album_id=".$data['album_id']."' class='gallery' title='Albumas: ".$data['album_title']."'>
".$data['album_title']."</a></center></td></center>\n";
}
}
closeside_panel();
?>
Citata:
{
margin: 0;
padding: 0;
}
html, body {
text-align: center;
background-color:#000000;
margin:0px;
font:90%/1.5 Verdana,Helvetica,Arial,sans-serif;
}
#container {
margin: 0 auto;
width:100%;
text-align: left;
}
.error, .notice, .success {
border: 1px solid #DDD;
margin-bottom: 1em;
padding: 0.6em 0.8em;
}
.error {background: #FBE3E4; color: #8A1F11; border-color: #FBC2C4;}
.error a {color: #8A1F11;}
.notice {background: #FFF6BF; color: #514721; border-color: #FFD324;}
.notice a {color: #514721;}
.success {background: #E6EFC2; color: #264409; border-color: #C6D880;}
.success a {color: #264409;}
.tooltip {
padding : 3px;
border : 1px solid #666;
display : none;
background : #666;
color : #fff;
font : bold 9px Verdana, Arial, Helvetica, sans-serif;
text-align : left;
position : absolute;
z-index : 1000;
}
.sidebar, .content {
display:inline;
float:right;
margin-left:20px;
margin-right:20px;
padding-bottom: 0px;
}
#container .sidebar {
clear:left;
width:233px;
}
#container .content {
width: auto;
float:left;
}
#header {
background: url(images/header.jpg) top left no-repeat;
height: 230px;
text-align: left;
color:#FF6600;
}
#footer {
clear: both;
background: #fff url(images/img02.jpg);
background-repeat:repeat-x;
height: 70px;
color: #493E2B;
border-top: 0px solid #494949;
}
/* Horizontales Menu */
.blockmenu{
margin: 0;
padding: 0;
float: left;
font: bold 11px Arial;
border: 0px solid #625e00;
border-width: 0px 0;
background: #fff url(images/img02.jpg) repeat-x;
height: 70px;
width: 100%;
}
.blockmenu li{
display: inline;
background-color:#c03511;
}
.blockmenu li a{
float: left;
color:#FFFFFF;
padding: 9px 10px;
padding-top: 25px;
text-align:center;;
}
.text1 {
padding: 5px 10px 5px 10px;
background: #FF6600;
color: #000000;
}
.blockmenu li a:visited{
color:#FFF;
}
.blockmenu li a:hover, .blockmenu li .active {
color: #FFF;
background-color:#910000;
height:15px;
}
/* Ende horizontales Menu */
/* Formular */
form {
margin-left: 20px;
}
fieldset {
/*width: 550px;*/
}
legend {
margin: 10px;
padding: 5px;
color: #990000;
}
input, textarea,select,button {
font-family:Verdana, Arial, Helvetica, sans-serif;
font-size:1em;
/*width:500px;*/
color: #FFF;
background: #b83606;
border: 0px inset #999;
padding-left: 0px;
margin:2px;
}
input:hover, textarea:hover {
background: #b83606;
}
.submit {
color: #FFF;
background: #b83606;
/*width: 150px;*/
border: 1px solid #000;
}
.submit:hover {
background: #b83606;
color: #FFFFFF;
}
/* Ende Formular */
/* Verschiedene Klassen */
.align-right {
float:right;
margin: 10px;
}
.align-left {
float: left;
margin: 10px;
}
/* Ende verschiedene Klassen */
/* Text Formatierungen */
a:focus{
outline:1px dotted invert;
}
a, a:visited {
color: #b83606;
text-decoration: none;
}
a:hover {
color: #FFFFFF;
text-decoration: underline;
}
a.read_more {
font-size: .9em;
}
a img {
border: 0 none;
}
/* ?berschriften */
h1,h2,h3,h4,h5 {
font-family: Georgia, "Trebuchet MS", "Times New Roman", serif;
margin: 25px 0 0 0;
padding: 0 10px;
color:#FFF;
height: 29px;
}
.news {
font-family: Georgia, "Trebuchet MS", "Times New Roman", serif;
font-size: 15px;
font-style: blod;
color: #d53608;
background-color:#101010;
padding-left: 10px;
width: auto;
}
.panel {
font-family: Georgia, "Times New Roman", Times, serif;
font-size:15px;
font-style: blod;
color: #d53608;
background-color:#101010;
height: 29px;
padding-left: 10px;
}
.news_bg {
font-family: Georgia, "Trebuchet MS", "Times New Roman", serif;
margin: 10px 0 0 0;
padding: 10px;
color: #837669;
background-color:#000;
width: auto;
}
.sidebar_bg {
font-family: Georgia, "Trebuchet MS", "Times New Roman", serif;
margin: 10px 0 0 0;
padding: 10px;
color: #837669;
background-color:#000;
height: 29px;
width:272px;
}
h1{
font-size:1.4em;
}
#header h1 {
font-size: 2.7em;
color: #FF6600;
padding: 1em 0 0 40px;
margin: 0;
}
#header h1 a, #header h1 a:visited {
text-decoration: none;
color: #FF6600;
}
#header h1 a:hover {
color: #FF6600;
}
h2{
font-size:1.3em;
}
#header h2 {
padding: 0 0 0 40px;
color: #fff;
font-size: 2em;
margin: .5em 0;
}
.sidebar h2 {
color: #FFF;
background:url(images/buttonbg.gif) top left repeat-x;
height: 29px;
border: 0px solid #d9d9d9;
font-size: 1.1em;
margin-top: 25px;
padding: 5px 5px 5px 30px;
}
.table {
border-bottom : 1px solid #000;
border-right : 1px solid #000;
}
.th {
text-align : center;
color : #FFF;
background-color : #666;
height : 20px;
font-weight : normal;
}
.th a {
color : #FFFFFF;
}
.tr2, .tr {
color: #666;
border-bottom: 1px solid #ccc;
background: #FFF;
padding:2px;
}
.td {
border-bottom: 1px solid #ccc;
padding-left : 5px;
border-left : 1px solid #CCC;
}
.td2 {
border-bottom: 1px solid #ccc;
padding-left : 5px;
border-left : 1px solid #CCC;
}
h3{
font-size:1.1em;
margin: 1em 0 0 0;
padding: 0 10px;
color: #666;
}
h4{font-size:1em}
h5{font-size:1em}
h6{font-size:1em}
/* Ende ?berschriften */
ol{
}
ul{
}
li{
margin-left:30px;
}
p,dl,hr,h1,h2,h3,h4,h5,h6,ol,ul,pre,table,address,fieldset,blockquote {
margin-bottom:20px;
}
p {
overflow:hidden;
}
#container p {
margin-left: 10px;
font-size: 1em;
}
#footer p {
line-height: 1.5em;
margin: 0;
}
#footer p.copy {
color: #493E2B;
text-align: center;
padding: .5em 20px 0 20px;
}
#list li {
margin-bottom: 6px;
}
p.link {
padding: 0 20px;
color: #000;
text-align: right;
margin: 0;
}
p.link a, p.link a:visited {
text-decoration: none;
color: #494949;
}
p.link a:hover {
color: #0000;
}
address {
font-style: normal;
margin-left: 10px;
}
blockquote {
color: #666;
border-top: 2px solid #ccc;
border-bottom: 2px solid #ccc;
background: #fbfbfb;
margin-left: 15%;
margin-right: 5%;
padding:10px;
}
hr {
border-color:#ccc;
border-style:solid;
border-width:1px 0 0;
clear:both;
height:0
}
/* Ende Textformatierungen */
Citata:
openside("Gracia Final"
error_reporting(0);
$IP = array("<center><b>LS STATUS</b><br>Serverio statusas: " => "84.240.62.220:2106",);
while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
echo("<tr><td>".$ServerName);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo("<img src='http://avangardas.eu/server_online.png'>"
fclose($fp);
}
else {
echo ("<img src='http://avangardas.eu/server_offline.png'>"
}
echo ("</center></td></tr>\n"
}
error_reporting(0);
$IP = array("<center><b>GS STATUS</b><br>Serverio statusas: " => "84.240.62.220:7777",);
while(list($ServerName,$Host)=each($IP)) {
list($IPAddress,$Port)=explode(":",$Host);
echo("<tr><td>".$ServerName);
if($fp=fsockopen($IPAddress,$Port,$ERROR_NO,$ERROR_STR,(float)0.5)) {
echo("<img src='http://avangardas.eu/server_online.png'>"
fclose($fp);
}
else {
echo ("<img src='http://avangardas.eu/server_offline.png'>"
}
echo ("</center></td></tr>\n"
}
closeside();
Citata:
openside("Serverio statusas"
$servo_pavadinimas='Ivedat savo nuoziura';
$servo_ip='iveskite cia servo ip';
$servo_loginport=iveskite cia login porta;
$servo_serverport=iveskite cia servo porta;
echo'
<table width="100%"> <tr> <td colspan="2"><center><b>'.$servo_pavadinimas.'</b></center></td> </tr> <tr> <td>Login:';
if($fp=fsockopen($servo_ip, $servo_loginport, $ERROR_NO, $ERROR_STR,(float)0.5))
echo"<span style='color:lime'>ON</span>";
else
echo"<span style='color:red'>OFF</span>";
echo('</td> <td>Game:';
if($fp=fsockopen($servo_ip, $servo_serverport, $ERROR_NO, $ERROR_STR,(float)0.5))
echo"<span style='color:lime'>ON</span>";
else
echo"<span style='color:red'>OFF</span>";
echo('</td> </tr>';
echo('</table>';
closeside();
Citata:
Internal Server Error
The server encountered an internal error or misconfiguration and was unable to complete your request.
Please contact the server administrator, admin@localhost and inform them of the time the error occurred, and anything you might have done that may have caused the error.
More information about this error may be available in the server error log.