Jump to content
GIGN Forum

{AppoLLo 13}

Mirstīgais
  • Posts

    245
  • Joined

  • Last visited

Posts posted by {AppoLLo 13}

  1. taa es to pamaaciibu apskatiijos a kuraa vietaa jaabaaz shitas te kods ???

    3) Then you need a script to show your zip files for downloading:

    Code:

    <html>

    <head>

    <meta http-equiv="Content-Language" content="en">

    <title>HLTV Demos</title>

    </head>

    <body bgcolor="#000000">

    <p align='center'>

    <?php

    if ($handle = opendir('D:/WebServer/www/zips/')) { // dir with .zip files

    while (false !== ($file = readdir($handle))) {

    if (strlen($file) > 4)

    {

    $gabali = explode("-", $file);

    $date = $gabali[1];

    $mape = $gabali[2];

    $mapesgabali = explode(".", $mape);

    $name = $mapesgabali[0];

    $year = substr($date,0,2);

    $month = substr($date,2,2);

    $day = substr($date,4,2);

    $hour = substr($date,6,2);

    $minute = substr($date,8,2);

    echo "<div align='center'>

    <table cellpadding='0' cellspacing='0' width='500' bgcolor='#000000'>

    <!-- MSTableType='layout' -->

    <tr>

    <td width='173' height='21' valign='top'>

    <font color='#FFFFFF' face='Verdana' size='1'>$day.$month.$year $hour:$minute</li>

    </font></td>

    <td width='256' height='21' valign='top'>

    <font color='#FFFFFF' face='Verdana' size='1'>$name</font></td>

    <td width='296' height='21' valign='top'> <a href='zips/$file'>

    <font color='#FFFFFF' face='Verdana' size=1>download</font></a></td>

    </tr>

    </table>

    </div>";

    }

    }

    closedir($handle);

    }

    ?>

    </body>

    </html>

  2. Sveicinaati atkaal wink.gif

    man atkaal ir viens jautaajums par monitoru !

    Kas man jaizdara shajaa failaa lai monitoraa (bilde apaksaa) vareetu izdariit taa kaa piemeeram es velos -- ir tads uzraksts PLAYER INFO un uz taa uzpiezot atveras piemeeram kautvai mana web lapa !!

    Ceru ka saprataat !! apaksaa ir pievienota bilde !!

    TAS fails :

    <!-- 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=../monitoring/?" />

    <meta http-equiv="cache-control" content="no-cache" />

    <meta http-equiv="last-modified" content="Fri, 04 Mar 2005 22:07:10 GMT" />

    <link href="../monitoring/small.css" type="text/css" rel="stylesheet">

    <style type="text/css">

    <!--

    .style1 {

    font-size: 12px;

    color: #c0c0c0;

    }

    .style2 {

    font-size: 10px;

    font-weight: bold;

    color: #ff0000;

    }

    .style3 {

    color: #c0c0c0;

    font-size: 10;

    }

    .style4 {

    font-size: 10px;

    color: #228b22;

    }

    .style5 {

    color: #c0c0c0;

    font-weight: bold;

    }

    .style7 {font-size: 10px; color: #c0c0c0; }

    .style10 {color: #CCCCCC}

    -->

    </style>

    </head>

    <body>

    <!-- BEGIN: STATUS -->

    <table border="0" cellpadding="2" cellspacing="2" align="center">

    <tr>

    <td><h3 align="center"> <span class="style2"> {name}</span></h3></td>

    </tr>

    <tr>

    <td><div align="center">

    <div align="center"><span class="style4">Speletaji: {totalplayers}/{maxplayers}</span><br />

    <span class="style10">{ip}</span></div>

    </div>

    </tr>

    <tr>

    <td>

    <div align="center"><img src="/stats/images/maps/{map}.jpg" width="139" height="105" title="{map}" /><br />

    <span class="style4"><strong>Mape: </strong>: {map}<br />

    <strong>Laiks Atlicis:</strong>: {rules.amx_timeleft} min</span><a href="http://naziic.sytes.net/serveris.htm"><br />

    </a><br />

    </div></td>

    </tr>

    </table>

    <!-- END: STATUS -->

    <!-- BEGIN: TIMEOUT -->

    <table border="0" cellpadding="2" cellspacing="2" align="center">

    <tr>

    <td colspan="2"><h3><span class="style4">{name}</span></h3></td>

    </tr>

    <tr>

    <td colspan="2" align="center"> <span class="style4">SERveris izslegts vei maina mapi! .</span><br />

    <br />

    <a href="../cs/?"></a><br />

    <br />

    <br /></td>

    </tr>

    </table>

    <!-- END: TIMEOUT -->

    <!-- BEGIN: DEV -->

    {dev}

    <!-- END: DEV -->

    </body>

    </html>

    <!-- END: MAIN -->

    post-2-1171991206.jpg

×
×
  • Create New...