Jump to content
GIGN Forum

Kur Var Ierakstit?


Recommended Posts

kur shaja monitora koda var ierakstit ip!!!galvenais ierakstit ip parejo es maceshu sashtelet!!

<!-- BEGIN: MAIN -->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-2" />
<meta http-equiv="expires" content="Fri, Apr 01 1974 00:00:00 GMT" />
<meta http-equiv="pragma" content="no-cache" />
<meta http-equiv="refresh" content="30;url=?" />
<meta http-equiv="cache-control" content="no-cache" />
<meta http-equiv="last-modified" content="Fri, 04 Mar 2005 22:07:10 GMT" />
<link href="default.css" type="text/css" rel="stylesheet">
<style type="text/css">
<!--
body {
background-color: #333333;
}
-->
</style></head>
<body>
<!-- BEGIN: STATUS -->

<table border="0" cellpadding="2" cellspacing="2" align="center">
<tr>
<td colspan="2">
</tr>
<tr>
<td><img src="img/{serveros}.gif" /> <img src="img/game/{gamedir}.gif" /> {gamename}</td>
<td><b>Gamers Online: {totalplayers}/{maxplayers} </b></td>
</tr>
<tr>
<td>
<img src="/cs/mapes/{map}.jpg" title="{map}" /><br />
Mape: {map}<br />
Time LEft: {rules.amx_timeleft} min<br />
Nextmap: {rules.amx_nextmap}<br />
<hr>
FreezeTime: {rules.mp_freezetime}<br />
BuyTime: {rules.mp_buytime}<br />
RoundTime: {rules.mp_roundtime}<br />
HLTV allow: {rules.sv_proxies}<br />
maxRate: {rules.sv_maxrate}<br />
</td>
<td valign="top">
<!-- BEGIN: PLAYERS -->
<table border="0" cellpadding="2" cellspacing="2">
<tr>
<th width="71">No</th>
<th width="183">Nickname</th>
<th width="83">Score</th>
<th width="8"> </th>
</tr>

<!-- BEGIN: PLAYER -->

<tr>
<td><div align="center">{player_id}</div></td><td><div align="center">{player_name}</div></td><td align="right"><div align="center">{player_kills}</div></td>
</tr>

<!-- END: PLAYER -->
</table>
<!-- END: PLAYERS --></td>
</tr>
</table>
<!-- END: STATUS -->


<!-- BEGIN: TIMEOUT -->
<table border="0" cellpadding="2" cellspacing="2" align="center">
<tr>
<td colspan="2"><h3>{name}</h3></td>
</tr>
<tr>
<td colspan="2" align="center">Server are not responding <br />
<br />
<a href="?">Reload</a><br />
<br />
</td>
</tr>
</table>
<div align="center"><a href="http://cenzēts/" title="Get FireFox web Browser"></a></div>
<!-- END: TIMEOUT -->

<!-- BEGIN: DEV -->
{dev}
<!-- END: DEV -->
</body>
</html>
<!-- END: MAIN --> 

p.s es ieprieksh biju iekopejis kodu es zveru...

Edited by vaz-men
Link to comment
Share on other sites

Novelc šo failiņ. Atzipo. Iemet www mapē. Tālāk atver failu config.php un labo - ip.

Tālāk tam monitoram jāiet, lai ievietotu monitoru kādā citā lieto Iframe, jeb

<iframe src="CEļš_uz_monitoru" width="200" height="200" border="3" frameborder="0"></iframe>

Link to comment
Share on other sites

Tas ip ir jāraksta config.php failā...

<?php

$server[] = array(

"ip" =>"123.123.123.123:27015", //jusu servera IP:PORTS

"template" => "small.tpl", //servera attelojuma izskats (template)

"name" => "Servera nosaukums", //servera nosaukums

"ha" => "", //admins

"ha_mail" => "", // admina epasts

"timeout" => 1 // taimauta sekundes

);

$showall = 0;

$debug = 0;

?>

Link to comment
Share on other sites

Novelc šo failiņ. Atzipo. Iemet www mapē. Tālāk atver failu config.php un labo - ip.

Tālāk tam monitoram jāiet, lai ievietotu monitoru kādā citā lieto Iframe, jeb

<iframe src="CEļš_uz_monitoru" width="200" height="200" border="3" frameborder="0"></iframe>

taja cel6 uz jusu monitoru tur jaieraksta savs ip?

Link to comment
Share on other sites

taja cel6 uz jusu monitoru tur jaieraksta savs ip?

Nē, savs ip ir jāliek tikai config.php failā, tājā ceļš uz monitoru ir, ja Tu vēlies, lai piem iekš lapa2.php rādītu kaut kur monitoru, un tavs monitors būtu mapē monitors, tad ielic vajadzīgajā vietā

<iframe src="/monitors/index.ph" width="200" height="200" border="3" frameborder="0"></iframe>

un ceļš uz monitoru ieraksti, kā no lapa2.php nokļūs līdz tavam monitoram.

p.s MeTroiD ko lieki iedirsi? 1d71.jpg

Link to comment
Share on other sites

Please sign in to comment

You will be able to leave a comment after signing in



Sign In Now
 Share

×
×
  • Create New...