ChiganS Posted June 27, 2007 Report Share Posted June 27, 2007 Kāds var palīdzēt izdarīt lai WEB augšā rādītos serveris ?? Es lietoju http://www.gign.lv/forum/index.php?showtop...mp;#entry220875 pašu pirmo SERVERI... Vopšem man ir WEB....Un es gribu kko līdzīgu tākā ŠEIT!!! Nevajag IDENTISI...bet kko līdzīgu...kāds var palīdzēt?? Cik es sapratu man jāpārlabo THEME.PHP... Es nezinu kurā rindiņā man kas jāraksta.... Es lietoju php-FUSION! Link to comment Share on other sites More sharing options...
RavenHolm Posted June 27, 2007 Report Share Posted June 27, 2007 pirmkārt tas ir cits CMS (tas nav Fusion), tas, ja nemaldos ir webspell... Vari mēģināt, pārlabojot visus headerus. Link to comment Share on other sites More sharing options...
ChiganS Posted June 27, 2007 Author Report Share Posted June 27, 2007 Vari mēģināt, pārlabojot visus headerus. Es zinu ka nav FUSION... Bet man itkā teica lai ieliek iframe... Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 Neviens nevar izpalīdzēt par šito? Link to comment Share on other sites More sharing options...
esctm Posted June 28, 2007 Report Share Posted June 28, 2007 (edited) nez itkā var meiģināt pirms/pēc, headera koda uzlikt, monitoru kodu, vēlams, manuprāt, būtu caur inframe kā kau teici... ps parādi savas themes.php sākumu lidz heiderim.... Edited June 28, 2007 by esctm Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 ps parādi savas themes.php sākumu lidz heiderim.... uzaicini skype ja vari.... penispetene Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 <? if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; // theme settings $body_text = "#ffffff"; $body_bg = "#000000"; $theme_width = "95%"; $theme_width_l = "175"; $theme_width_r = "175"; if(!function_exists("ImageTTFText")) $rendered_captions = false; else $rendered_captions = true; function render_header($header_content) { global $theme_width,$settings; echo " <div style='width: ".(stristr("".$theme_width."", "%")? $theme_width : $theme_width."px")."; margin: 0 auto; text-align: left;'> <div id='headerbg'> <div id='headerl'> <div id='headerr'> </div> </div> </div> <img style='float:left;' src='".THEME."images/whiteheaderl.jpg' alt='<' hspace='0'> <img style='float:right;' src='".THEME."images/whiteheaderr.jpg' alt='>' hspace='0'> <div class='white-header'> <div style='float:left'> ".showsublinks(" ? ", "white")." </div> <div style='float:right;'> ".showsubdate()." </div> </div> <table width='100%' cellspacing='0' cellpadding='0' id='content'> <tr>"; Cerams pieteiks???...Bet šitā THEME ir EDITĒTA.... Šitā izskatās normālai THEME.... <? if (!defined("IN_FUSION")) { header("Location: ../../index.php"); exit; } require_once INCLUDES."theme_functions_include.php"; // theme settings $body_text = "#ffffff"; $body_bg = "#000000"; $theme_width = "95%"; $theme_width_l = "175"; $theme_width_r = "175"; if(!function_exists("ImageTTFText")) $rendered_captions = false; else $rendered_captions = true; function render_header($header_content) { global $theme_width,$settings; echo " <div style='width: ".(stristr("".$theme_width."", "%")? $theme_width : $theme_width."px")."; margin: 0 auto; text-align: left;'> <img src='".THEME."images/headerlefttop.jpg' alt='<---->' hspace='0' vspace='0' style='vertical-align: bottom;'> <div id='headerbg'> <div id='headerl'> <div id='headerr'> <img src='".THEME."images/banner.gif' alt='Battlefield 2' style='margin-top: 16px;'> </div> </div> </div> <img style='float:left;' src='".THEME."images/whiteheaderl.jpg' alt='<' hspace='0'> <img style='float:right;' src='".THEME."images/whiteheaderr.jpg' alt='>' hspace='0'> <div class='white-header'> <div style='float:left'> ".showsublinks(" ? ", "white")." </div> <div style='float:right;'> ".showsubdate()." </div> </div> <table width='100%' cellspacing='0' cellpadding='0' id='content'> <tr>"; } function render_footer($license=false) { global $theme_width,$settings,$locale; echo " </tr> </table> Link to comment Share on other sites More sharing options...
RavenHolm Posted June 28, 2007 Report Share Posted June 28, 2007 Tu vari darīt, tā: Pašu banneri headerim iemet CSS kā backgroundu, bet norādi, lai viņš neatkārtojas un ar koordinātām iemet precīzu vietu kur viņam būs jābūt. Tālāk aver to theme.php un ar inkclūdi iemet linku uz monitoru, kuru būsi iekopējis inklūdētajā failā, tur kur būtu jābūt bannerim, un atkal ar koordinātām novirzi, tur kur gribi viņu redzēt. Ja gadījumā, tev kautkas ir neskaidrs pameklējies te, jo man ir baigais slinkums visu rādīt priekšā. Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 theme.php un ar inkclūdi iemet linku uz monitoru, kuru būsi iekopējis inklūdētajā failā, tur kur būtu jābūt bannerim, un atkal ar koordinātām novirzi, tur kur gribi viņu redzēt. Ja gadījumā, tev kautkas ir neskaidrs pameklējies te, jo man ir baigais slinkums visu rādīt priekšā. Nu jā bet man nemaz tas banneris nav....vari paskatīties.... ŠEIT Tur tukš ir pa vidu...jo viņa ir editēta... Link to comment Share on other sites More sharing options...
RavenHolm Posted June 28, 2007 Report Share Posted June 28, 2007 gadījuma pēc, tas banneris, jau nav iekš CSS uzlikts? Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 (edited) Man liekas ka nē...a kas būtu ja būtu? Edited June 28, 2007 by ChiganS Link to comment Share on other sites More sharing options...
RavenHolm Posted June 28, 2007 Report Share Posted June 28, 2007 tad tev tikai theme php būtu jānorāda ar inklūdi to monitoru starp tiem pacaniem uz bannera. Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 Es esmu galīgs neko nesaprotu no šito ģēniju teikumiem.... Link to comment Share on other sites More sharing options...
staly Posted June 28, 2007 Report Share Posted June 28, 2007 vieeglāk ar <div> Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 Jūs nevarat lūdzu vienkārši NOKOPĒT to pirmo CODE un biški EDITĒT pēc jūsu domām ka vajadzētu un tad es varētu pamēģināt...?? Vai kaurt arī otro CODE...jo man ir abi divi THEME... Es tax esmu Link to comment Share on other sites More sharing options...
RavenHolm Posted June 28, 2007 Report Share Posted June 28, 2007 karoč es tev visu sourci izrakāju un varu pateikt, ka viņš tev ir iekļauts @ CSS Izdari tā: Uztaisi failu ar nosaukumu monitors.php un tajā iekopē, sava monitora skriptu. Tagad paņem savu theme.php un starp <div id='headerr'></div> tagu ieliec šādu rindiņu <center><?php include("monitors.php"); ?> </center>, ja kautkas nesanāk, pamēģini bez center tagiem. Tam monitors.php jābūt weba root direktorijā, vai arī tajā folderī kur atrodas theme.php - neatceros Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 Izdari tā: Uztaisi failu ar nosaukumu monitors.php un tajā iekopē, sava monitora skriptu. Tagad paņem savu theme.php un starp <div id='headerr'></div> tagu ieliec šādu rindiņu <center><?php include("monitors.php"); ?> </center>, ja kautkas nesanāk, pamēģini bez center tagiem. Tam monitors.php jābūt weba root direktorijā, vai arī tajā folderī kur atrodas theme.php - neatceros Tas nekas ja lieku apbās vietās? Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 <!-- 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=../Serveris/index.php" /> <meta http-equiv="cache-control" content="no-cache" /> <meta http-equiv="last-modified" content="Fri, 04 Mar 2005 22:07:10 GMT" /> <link href="../cs/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: #c0c0c0; } .style3 { color: #c0c0c0; font-size: 10; } .style4 { font-size: 10px; color: #CC0000; } .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="style7"> {name}</span></h3></td> </tr> <td><div align="center"> <div align="center"><span class="style2">Players: {player_name}/{player_kills}</span><br /> <tr> <td><div align="center"> <div align="center"><span class="style2">Players: {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="style3"><strong>Current map </strong>: {map}<br /> <strong>Timeleft</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="style1">{name}</span></h3></td> </tr> <tr> <td colspan="2" align="center"> <span class="style4">Server are not respondig .</span><br /> <br /> <a href="../cs/?"></a><br /> <br /> <br /></td> </tr> </table> <!-- END: TIMEOUT --> <!-- BEGIN: DEV --> {dev} <!-- END: DEV --> </body> </html> <!-- END: MAIN --> Šitais ir tas MONITORA scripts ja? Link to comment Share on other sites More sharing options...
RavenHolm Posted June 28, 2007 Report Share Posted June 28, 2007 Jā. un tas include jāliek tikai starp turieni. Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 <div id='headerr'>1Šeit? 2Šeit? </div> Kur man jāliek? Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 Negāja ne tur, ne tur un arī bez center negāja... Link to comment Share on other sites More sharing options...
ChiganS Posted June 28, 2007 Author Report Share Posted June 28, 2007 (edited) Es ŠEIT ieliku savu THEME...cerams ka varēsiet palīdzet! Edited June 28, 2007 by ChiganS Link to comment Share on other sites More sharing options...
ChiganS Posted June 29, 2007 Author Report Share Posted June 29, 2007 Izmēģināju visus variantus... Nekas nesanāk... Ne ar iframe.... Iespējams ieliku nepareizajā vietā =\ Izmēģināju kā jūs teicāt arī nesanāk ! Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now