Редакция на сайт ( език )

cLiford

Registered
Здравей те ;) .. намерих един сайт и горе - долу го оправих, та кой може да ми преведе сайта, смисъл как да го преведа от английски на български ?
 
Ами, да, но не му разбирам, защото системата е писана и незнам какво каде е слагано :) .. става ли да ти дам ланга папката, вътре има en и de ланг, да ми го оправиш на бг, ок ?
 
cLiford каза:
Ами, да, но не му разбирам, защото системата е писана и незнам какво каде е слагано :) .. става ли да ти дам ланга папката, вътре има en и de ланг, да ми го оправиш на бг, ок ?
Колко горе долу са думите за превеждане :)
 
Ми приятел да кажем, че не са малко, но като превеждам после нищо не се променя .. права така :

Копирам съдържанието от ен.пхп папката, слагам го в bg.php и превеждам .. превел съм малко .. но ако може ти да ми го преведеш, че при мене нещо не се получава, като превеждам не се превежда ;x
 
Еконгнита ? .. не разбирам много .. незнам коя използвам и на кой е :) .. ако може да сложа архива да ми оправиш ланга или да ми влезнеш в компа от скайпа ?
 
Начи преведох си сайта и сега като влезна в лоцалхост пак ми е на английски, как да задам българския език ?


lang/bg.php е бг езика :) ( превода ) как да го задам за сайта ?
 
преименувай bg.php на en.php и пробвай трябва да се получи ,ако има нещо пиши
 
В папката ланг имаше ен.пхп папка, махнах я и преименувах бг.пхп на ен.пхп и нищо не стана ..
 
cLiford каза:
В папката ланг имаше ен.пхп папка, махнах я и преименувах бг.пхп на ен.пхп и нищо не стана ..


преименувай папката бг където е в ланг на ен и вътре в нея постави българския превод под име ен.пхп :)
 
Ае хората има сессия или по точно проверка която проверява какъв език си е избрал по-горе в страницата бих казал най-отгоре дай си файла(index) или просто дай кода тука и ще ти добавим да се ползва и bg.php...
 
Код:
<? 
include "inc/head.php"; 
?>
<html>
<head>
<title><? echo $life_h_config['homepage_title']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<script language="JavaScript" type="text/javascript" src="js/net.js"></script>  
	<script language="JavaScript" type="text/javascript" src="js/suggest.js"></script>
	<script language="JavaScript" type="text/javascript" src="swfobject.js"></script>
	<? include "inc/java.php"; ?>
	<script language="JavaScript" type="text/javascript">
		function navi_open(nav_id)
		{
			for(var i = 1; i <= 6; i = i+1)
			{
				if(document.getElementById('sub_'+i))
				{
					document.getElementById('sub_'+i).style.display = 'none';
				}
			}
			if(document.getElementById('sub_'+nav_id))
			{
				document.getElementById('sub_'+nav_id).style.display = 'inline';
			}
		}
		function autosizeprofile(max_width, max_height, espcms_bild_id, wertfurimage)
		{
			foto = new Image();
			foto.src = wertfurimage;
			var old_width = foto.width;
			var old_height = foto.height;
			var new_width;
			var new_height;
			var espcms_kurs;
			
			
			
			if(old_width > max_width)
			{
				
				espcms_kurs = old_width/max_width;
				new_width = max_width;
				new_height = Math.round(old_height/espcms_kurs);
				if(new_height > max_height)
				{
					new_height = max_height;
				}
				
			}
			else
			{
				if(old_height > max_height)
				{
					new_height = max_height;			
					new_width = old_width;	
				}
				else
				{
					new_height = old_height;			
					new_width = old_width;	
				}
				
			}
			
			espcms_bild_id.style.height = new_height+'px';
			espcms_bild_id.style.width = new_width+'px';
		}
		function autosizegallery(max_width, max_height, espcms_bild_id, wertfurimage)
		{
			foto = new Image();
			foto.src = wertfurimage;
			var old_width = foto.width;
			var old_height = foto.height;
			var new_width;
			var new_height;
			var espcms_kurs;
			
			
			
			if(old_height > max_height)
			{
				
				espcms_kurs = old_height/max_height;
				new_height = max_height;
				new_width = Math.round(old_width/espcms_kurs);
				if(new_height > max_height)
				{
					new_height = max_height;
				}
				
			}
			else
			{
				if(old_width > max_width)
				{
					new_width = max_width;			
					new_height = old_height;	
				}
				else
				{
					new_height = old_height;			
					new_width = old_width;	
				}
				
			}
			espcms_bild_id.style.height = new_height+'px';
			espcms_bild_id.style.width = new_width+'px';
		}
	</script> 
<style>
body,td{
	color:#484848;	
	font-family: trebuchet ms,verdana,arial;
	font-size:11px;
}

img{
	padding:0px;
	margin: 0px;
}

.navi{
	color:#00a1be;
	text-decoration: none;
}

.navi:hover{
	color:#FFFFFF;
	text-decoration: none;
}

.links{
	color: #CDCDCD;
	text-decoration: none;
}

.links:hover{
	color: #00a1be;
	text-decoration: none;	
}

a{
	color: #484848;
	text-decoration: none;
}

a:hover{
	color: #00a1be;
	text-decoration: none;	
}
.color{
	color:#00a1be;
	text-decoration: none;
}

.color:hover{
	color:#FFFFFF;
	text-decoration: none;
}

.white{
	color: #FFFFFF;
	text-decoration: none;
}

.white:hover{
	color: #00a1be;
	text-decoration: none;	
	font-weight:bold;
}

.headline
{
	color:#007d96;
	border-bottom:1px solid #000000;
	font-weight:bold;
}
input,select,textarea,button{
	color:#3e3e3e;
	border:1px solid #525252;
	padding:1px;
	margin-left:2px;
	font-size:11px;
	background-color:#f0f0f0;
}

</style>

<script type="text/javascript">
function show_navi(nav_id)
{
	document.getElementById("navi_1").style.display = "none";
	document.getElementById("navi_2").style.display = "none";
	document.getElementById("navi_3").style.display = "none";
	document.getElementById("navi_4").style.display = "none";
	document.getElementById("navi_" + nav_id).style.display = "inline";
}
</script>
</head>
<body bgcolor="#242424" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
		<div align="center">
			<table width="1001" border="0" cellspacing="0" cellpadding="0">
				<tr bgcolor="#242424">
					<td align="left" valign="top" width="1001">
						<table width="1001" border="0" cellspacing="0" cellpadding="0">
							<tr height="78">
								<td align="left" valign="top" width="1001" height="78">
									<table width="1001" border="0" cellspacing="0" cellpadding="0" height="78">
										<tr height="25">
											<td width="636" height="25" background="Images/lhcms_02.jpg"></td>
											<td rowspan="3" align="right" valign="top" width="365" height="78" background="Images/lhcms_03.jpg">
												<? include "stats/index.php"; ?>
											</td>
										</tr>
										<tr height="24">
											<td width="636" height="24">
												<form action="?section=search_main" method="POST" name="search_index" style="margin:0px;padding:0px;">
													<table width="636" border="0" cellspacing="0" cellpadding="0" height="24">
														<tr height="24">
															<td width="75" height="24"><img src="Images/lhcms_05.jpg" width="75" height="24" alt=""></td>
															<td width="199" height="24" background="Images/lhcms_06.jpg"><input style="border:0px;background-image:url('Images/lhcms_06.jpg');height:24px;width:199px;vertical-align:middle;color:#00a1be;font-weight:bold;padding-top:4px;" type="text" value="" name="begriff"></td>
															<td width="53" height="24"><input type="image" src="Images/lhcms_07.jpg"  style="border:0px;padding:0px;margin:0px;" border="0" width="53" height="24" alt=""></td>
															<td width="105" height="24"><a href="?section=search_main"><img src="Images/lhcms_08.jpg" border="0" width="105" height="24" alt=""></a></td>
															<td width="204" height="24" background="Images/lhcms_09.jpg"></td>
														</tr>
													</table>
												</form>
											</td>
										</tr>
										<tr height="29">
											<td width="636" height="29" background="Images/lhcms_10.jpg"></td>
										</tr>
									</table>
								</td>
							</tr>
							<tr height="98">
								<td align="right" valign="top" width="1001" height="98" background="Images/lhcms_11.jpg">
									<div style="margin-right:20px;width:400px;height:90px;">
										<? include "sponsors/header.php"; ?>
									</div>
								</td>
							</tr>
							<tr>
								<td align="left" valign="top" width="1001">
									<table width="1001" border="0" cellspacing="0" cellpadding="0" bgcolor="black">
										<tr>
											<td align="left" valign="top" width="219">												
												<table width="219" border="0" cellspacing="0" cellpadding="0">
													<tr>
														<td width="219" align="left"><img onMouseOver="show_navi('1');" style="cursor:pointer;" src="Images/lhcms_12.jpg" width="55" height="53" alt="News"><img onMouseOver="show_navi('2');" style="cursor:pointer;" src="Images/lhcms_13.jpg" width="48" height="53" alt="Dot"><img  onmouseover="show_navi('3');" style="cursor:pointer;" src="Images/lhcms_14.jpg" width="48" height="53" alt="User"><img onMouseOver="show_navi('4');" style="cursor:pointer;" src="Images/lhcms_15.jpg" width="68" height="53" alt="Media"></td>
													</tr>
												</table>
												<table id="navi_4" style="display:none;" width="219" border="0" cellspacing="0" cellpadding="0">
													<tr height="31">
														<td align="left" valign="top" width="219" height="31" background="Images/lhcms_19.jpg"></td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_22.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=downloads_main">Downloads</a></div>
														</td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_26.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=video_main">Videos</a></div>
														</td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_27.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=gallery_main">Gallery</a></div>
														</td>
													</tr>
													<tr height="21">
														<td align="left" valign="top" width="219" height="21" background="Images/lhcms_29.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=interviews_main">Interviews</a></div>
														</td>
													</tr>
													<tr height="21">
														<td align="left" valign="top" width="219" height="21" background="Images/lhcms_32.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=links_main">Links</a></div>
														</td>
													</tr>
												</table>
												<table id="navi_3" style="display:none;" width="219" border="0" cellspacing="0" cellpadding="0">
													<tr height="31">
														<td align="left" valign="top" width="219" height="31" background="Images/lhcms_19.jpg"></td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_22.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=user_liste">Userlist</a></div>
														</td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_26.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=forum_main">Board</a></div>
														</td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_27.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=polls_main">Polls</a></div>
														</td>
													</tr>
													<tr height="21">
														<td align="left" valign="top" width="219" height="21" background="Images/lhcms_29.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=bets_main">Bets</a></div>
														</td>
													</tr>
													<tr height="21">
														<td align="left" valign="top" width="219" height="21" background="Images/lhcms_32.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=faq_main">FAQ</a></div>
														</td>
													</tr>
												</table>
												<table id="navi_2" style="display:none;" width="219" border="0" cellspacing="0" cellpadding="0">
													<tr height="31">
														<td align="left" valign="top" width="219" height="31" background="Images/lhcms_19.jpg"></td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_22.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=team_main">Teams</a></div>
														</td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_26.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=matches_main">Matches</a></div>
														</td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_27.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=award_main">Awards</a></div>
														</td>
													</tr>
													<tr height="21">
														<td align="left" valign="top" width="219" height="21" background="Images/lhcms_29.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=sponsors_main">Sponsors</a></div>
														</td>
													</tr>
													<tr height="21">
														<td align="left" valign="top" width="219" height="21" background="Images/lhcms_32.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=server_main">Server</a></div>
														</td>
													</tr>
												</table>
												<table id="navi_1" style="display:inline;" width="219" border="0" cellspacing="0" cellpadding="0">
													<tr height="31">
														<td align="left" valign="top" width="219" height="31" background="Images/lhcms_19.jpg"></td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_22.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=home">News</a></div>
														</td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_26.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=news_main">News Archive</a></div>
														</td>
													</tr>
													<tr height="22">
														<td align="left" valign="top" width="219" height="22" background="Images/lhcms_27.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=article_main">Article</a></div>
														</td>
													</tr>
													<tr height="21">
														<td align="left" valign="top" width="219" height="21" background="Images/lhcms_29.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=search_main">Search</a></div>
														</td>
													</tr>
													<tr height="21">
														<td align="left" valign="top" width="219" height="21" background="Images/lhcms_32.jpg">
															<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=content_main&modul=impressum">Imprint</a></div>
														</td>
													</tr>
												</table>
												<table width="219" border="0" cellspacing="0" cellpadding="0">
													<tr height="46">
														<td align="left" valign="top" width="219" height="46" background="Images/lhcms_33.jpg"></td>
													</tr>
													<? include "news/index.php"; ?>
													<tr height="34">
														<td align="left" valign="top" width="219" height="34" background="Images/lhcms_51.jpg"></td>
													</tr>
													<? include "matches/index.php"; ?>
													<tr height="35">
														<td align="left" valign="top" width="219" height="35" background="Images/lhcms_60.jpg"></td>
													</tr>
													<? include "forum/index.php"; ?>
													<tr height="40">
														<td align="left" valign="top" width="219" height="40" background="Images/lhcms_76.jpg"></td>
													</tr>
													<tr height="362">
														<td align="center" valign="top" width="219" height="362" background="Images/lhcms_77.jpg" style="background-repeat:no-repeat;">
<center><script type="text/javascript">
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
														</td>
													</tr>														  												  </table>
												
											</td>
											
											<td align="left" valign="top" bgcolor="black">
												<table width="782" border="0" cellspacing="0" cellpadding="0">
													<tr height="131">
														<td align="left" valign="top" width="782" height="131">
															<table width="782" border="0" cellspacing="0" cellpadding="0" height="131">
																<tr height="31">
																	<td width="533" background="Images/lhcms_16.jpg">
																		<table width="100%" border="0" cellspacing="0" cellpadding="0" height="131">
																			<tr>
																				<td rowspan="2" align="left" valign="middle">
																					<? include "special/index.php"; ?>
																				</td>
																				<td align="right" valign="top"><a href="?section=user_register"><img src="Images/content/head_3.jpg" alt="" height="63" width="254" border="0"></a></td>
																			</tr>
																			<tr>
																				<td align="right" valign="bottom"><a href="?section=bets_main"><img src="Images/content/head_2.jpg" alt="" height="62" width="254" border="0"></a></td>
																			</tr>
																		</table>
																	</td>																	
																	<? include "user/navi.php"; ?>
																</tr>
															</table>
														</td>
													</tr>
													<tr height="33">
														<td align="left" valign="top" width="782" height="33" background="Images/lhcms_28.jpg">
															<table width="340" style="margin-left:430px;margin-top:14px;" cellpadding="0" cellspacing="0" border="0">
																<tr>
																	<td>
																		<marquee scrollamount="1" scrolldelay="1">
																  			<? echo get("espcms_content","content","name","newsticker"); ?>
																		</marquee>
																	</td>
																</tr>
															</table>
														</td>
													</tr>
													<tr>
														<td align="left" valign="top" width="782">
															<table width="782" border="0" cellspacing="0" cellpadding="0">
																<tr>
																	<td align="left" valign="top" bgcolor="black" width="573">
																		<table width="573" border="0" cellspacing="0" cellpadding="0">
																			<? include "matches/matchticker.php"; ?>
																			<tr>
																				<td width="573">																					
																					<? include "content.php"; ?>
																				</td>
																			</tr>
																			<tr height="100">
																				<td width="573" height="100" background="Images/lhcms_92.jpg"></td>
																			</tr>
																		</table>
																	</td>
																	<td align="left" valign="top" bgcolor="black" width="209">
																		<table width="209" border="0" cellspacing="0" cellpadding="0">
																			<? include "sponsors/index.php"; ?>
																			<? include "polls/index.php"; ?>
																																																									                                                                             <tr>
																																						<td align="left" valign="top" width="209"><img src="Images/lhcms_90.jpg" width="209" height="172" alt=""></td>
																			</tr>
																		</table>
																	</td>
																</tr>
															</table>
														</td>
													</tr>
												</table>
											</td>
										</tr>
									</table>
								</td>
							</tr>
						</table>
					</td>
				</tr>
			</table>
		</div>
	</body>
</html>
<?
include "inc/foot.php";
?>

Ланга се намира в lang/bg.php
 
<?
include "inc/head.php";
?>
<html>
<head>
<title><? echo $life_h_config['homepage_title']; ?></title>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1251">
<script language="JavaScript" type="text/javascript" src="js/net.js"></script>
<script language="JavaScript" type="text/javascript" src="js/suggest.js"></script>
<script language="JavaScript" type="text/javascript" src="swfobject.js"></script>
<? include "inc/java.php"; ?>
<script language="JavaScript" type="text/javascript">
function navi_open(nav_id)
{
for(var i = 1; i <= 6; i = i+1)
{
if(document.getElementById('sub_'+i))
{
document.getElementById('sub_'+i).style.display = 'none';
}
}
if(document.getElementById('sub_'+nav_id))
{
document.getElementById('sub_'+nav_id).style.display = 'inline';
}
}
function autosizeprofile(max_width, max_height, espcms_bild_id, wertfurimage)
{
foto = new Image();
foto.src = wertfurimage;
var old_width = foto.width;
var old_height = foto.height;
var new_width;
var new_height;
var espcms_kurs;



if(old_width > max_width)
{

espcms_kurs = old_width/max_width;
new_width = max_width;
new_height = Math.round(old_height/espcms_kurs);
if(new_height > max_height)
{
new_height = max_height;
}

}
else
{
if(old_height > max_height)
{
new_height = max_height;
new_width = old_width;
}
else
{
new_height = old_height;
new_width = old_width;
}

}

espcms_bild_id.style.height = new_height+'px';
espcms_bild_id.style.width = new_width+'px';
}
function autosizegallery(max_width, max_height, espcms_bild_id, wertfurimage)
{
foto = new Image();
foto.src = wertfurimage;
var old_width = foto.width;
var old_height = foto.height;
var new_width;
var new_height;
var espcms_kurs;



if(old_height > max_height)
{

espcms_kurs = old_height/max_height;
new_height = max_height;
new_width = Math.round(old_width/espcms_kurs);
if(new_height > max_height)
{
new_height = max_height;
}

}
else
{
if(old_width > max_width)
{
new_width = max_width;
new_height = old_height;
}
else
{
new_height = old_height;
new_width = old_width;
}

}
espcms_bild_id.style.height = new_height+'px';
espcms_bild_id.style.width = new_width+'px';
}
</script>
<style>
body,td{
color:#484848;
font-family: trebuchet ms,verdana,arial;
font-size:11px;
}

img{
padding:0px;
margin: 0px;
}

.navi{
color:#00a1be;
text-decoration: none;
}

.navi:hover{
color:#FFFFFF;
text-decoration: none;
}

.links{
color: #CDCDCD;
text-decoration: none;
}

.links:hover{
color: #00a1be;
text-decoration: none;
}

a{
color: #484848;
text-decoration: none;
}

a:hover{
color: #00a1be;
text-decoration: none;
}
.color{
color:#00a1be;
text-decoration: none;
}

.color:hover{
color:#FFFFFF;
text-decoration: none;
}

.white{
color: #FFFFFF;
text-decoration: none;
}

.white:hover{
color: #00a1be;
text-decoration: none;
font-weight:bold;
}

.headline
{
color:#007d96;
border-bottom:1px solid #000000;
font-weight:bold;
}
input,select,textarea,button{
color:#3e3e3e;
border:1px solid #525252;
padding:1px;
margin-left:2px;
font-size:11px;
background-color:#f0f0f0;
}

</style>

<script type="text/javascript">
function show_navi(nav_id)
{
document.getElementById("navi_1").style.display = "none";
document.getElementById("navi_2").style.display = "none";
document.getElementById("navi_3").style.display = "none";
document.getElementById("navi_4").style.display = "none";
document.getElementById("navi_" + nav_id).style.display = "inline";
}
</script>
</head>
<body bgcolor="#242424" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
<table width="1001" border="0" cellspacing="0" cellpadding="0">
<tr bgcolor="#242424">
<td align="left" valign="top" width="1001">
<table width="1001" border="0" cellspacing="0" cellpadding="0">
<tr height="78">
<td align="left" valign="top" width="1001" height="78">
<table width="1001" border="0" cellspacing="0" cellpadding="0" height="78">
<tr height="25">
<td width="636" height="25" background="Images/lhcms_02.jpg"></td>
<td rowspan="3" align="right" valign="top" width="365" height="78" background="Images/lhcms_03.jpg">
<? include "stats/index.php"; ?>
</td>
</tr>
<tr height="24">
<td width="636" height="24">
<form action="?section=search_main" method="POST" name="search_index" style="margin:0px;padding:0px;">
<table width="636" border="0" cellspacing="0" cellpadding="0" height="24">
<tr height="24">
<td width="75" height="24"><img src="Images/lhcms_05.jpg" width="75" height="24" alt=""></td>
<td width="199" height="24" background="Images/lhcms_06.jpg"><input style="border:0px;background-image:url('Images/lhcms_06.jpg');height:24px;width:199px;vertical-align:middle;color:#00a1be;font-weight:bold;padding-top:4px;" type="text" value="" name="begriff"></td>
<td width="53" height="24"><input type="image" src="Images/lhcms_07.jpg" style="border:0px;padding:0px;margin:0px;" border="0" width="53" height="24" alt=""></td>
<td width="105" height="24"><a href="?section=search_main"><img src="Images/lhcms_08.jpg" border="0" width="105" height="24" alt=""></a></td>
<td width="204" height="24" background="Images/lhcms_09.jpg"></td>
</tr>
</table>
</form>
</td>
</tr>
<tr height="29">
<td width="636" height="29" background="Images/lhcms_10.jpg"></td>
</tr>
</table>
</td>
</tr>
<tr height="98">
<td align="right" valign="top" width="1001" height="98" background="Images/lhcms_11.jpg">
<div style="margin-right:20px;width:400px;height:90px;">
<? include "sponsors/header.php"; ?>
</div>
</td>
</tr>
<tr>
<td align="left" valign="top" width="1001">
<table width="1001" border="0" cellspacing="0" cellpadding="0" bgcolor="black">
<tr>
<td align="left" valign="top" width="219">
<table width="219" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="219" align="left"><img onMouseOver="show_navi('1');" style="cursor:pointer;" src="Images/lhcms_12.jpg" width="55" height="53" alt="News"><img onMouseOver="show_navi('2');" style="cursor:pointer;" src="Images/lhcms_13.jpg" width="48" height="53" alt="Dot"><img onmouseover="show_navi('3');" style="cursor:pointer;" src="Images/lhcms_14.jpg" width="48" height="53" alt="User"><img onMouseOver="show_navi('4');" style="cursor:pointer;" src="Images/lhcms_15.jpg" width="68" height="53" alt="Media"></td>
</tr>
</table>
<table id="navi_4" style="display:none;" width="219" border="0" cellspacing="0" cellpadding="0">
<tr height="31">
<td align="left" valign="top" width="219" height="31" background="Images/lhcms_19.jpg"></td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_22.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=downloads_main">Downloads</a></div>
</td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_26.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=video_main">Videos</a></div>
</td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_27.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=gallery_main">Gallery</a></div>
</td>
</tr>
<tr height="21">
<td align="left" valign="top" width="219" height="21" background="Images/lhcms_29.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=interviews_main">Interviews</a></div>
</td>
</tr>
<tr height="21">
<td align="left" valign="top" width="219" height="21" background="Images/lhcms_32.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=links_main">Links</a></div>
</td>
</tr>
</table>
<table id="navi_3" style="display:none;" width="219" border="0" cellspacing="0" cellpadding="0">
<tr height="31">
<td align="left" valign="top" width="219" height="31" background="Images/lhcms_19.jpg"></td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_22.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=user_liste">Userlist</a></div>
</td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_26.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=forum_main">Board</a></div>
</td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_27.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=polls_main">Polls</a></div>
</td>
</tr>
<tr height="21">
<td align="left" valign="top" width="219" height="21" background="Images/lhcms_29.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=bets_main">Bets</a></div>
</td>
</tr>
<tr height="21">
<td align="left" valign="top" width="219" height="21" background="Images/lhcms_32.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=faq_main">FAQ</a></div>
</td>
</tr>
</table>
<table id="navi_2" style="display:none;" width="219" border="0" cellspacing="0" cellpadding="0">
<tr height="31">
<td align="left" valign="top" width="219" height="31" background="Images/lhcms_19.jpg"></td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_22.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=team_main">Teams</a></div>
</td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_26.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=matches_main">Matches</a></div>
</td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_27.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=award_main">Awards</a></div>
</td>
</tr>
<tr height="21">
<td align="left" valign="top" width="219" height="21" background="Images/lhcms_29.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=sponsors_main">Sponsors</a></div>
</td>
</tr>
<tr height="21">
<td align="left" valign="top" width="219" height="21" background="Images/lhcms_32.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=server_main">Server</a></div>
</td>
</tr>
</table>
<table id="navi_1" style="display:inline;" width="219" border="0" cellspacing="0" cellpadding="0">
<tr height="31">
<td align="left" valign="top" width="219" height="31" background="Images/lhcms_19.jpg"></td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_22.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=home">News</a></div>
</td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_26.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=news_main">News Archive</a></div>
</td>
</tr>
<tr height="22">
<td align="left" valign="top" width="219" height="22" background="Images/lhcms_27.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=article_main">Article</a></div>
</td>
</tr>
<tr height="21">
<td align="left" valign="top" width="219" height="21" background="Images/lhcms_29.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=search_main">Search</a></div>
</td>
</tr>
<tr height="21">
<td align="left" valign="top" width="219" height="21" background="Images/lhcms_32.jpg">
<div style="margin-left:20px;margin-top:2px;"><a class="navi" href="?section=content_main&modul=impressum">Imprint</a></div>
</td>
</tr>
</table>
<table width="219" border="0" cellspacing="0" cellpadding="0">
<tr height="46">
<td align="left" valign="top" width="219" height="46" background="Images/lhcms_33.jpg"></td>
</tr>
<? include "news/index.php"; ?>
<tr height="34">
<td align="left" valign="top" width="219" height="34" background="Images/lhcms_51.jpg"></td>
</tr>
<? include "matches/index.php"; ?>
<tr height="35">
<td align="left" valign="top" width="219" height="35" background="Images/lhcms_60.jpg"></td>
</tr>
<? include "forum/index.php"; ?>
<tr height="40">
<td align="left" valign="top" width="219" height="40" background="Images/lhcms_76.jpg"></td>
</tr>
<tr height="362">
<td align="center" valign="top" width="219" height="362" background="Images/lhcms_77.jpg" style="background-repeat:no-repeat;">
<center><script type="text/javascript">
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
</td>
</tr> </table>

</td>

<td align="left" valign="top" bgcolor="black">
<table width="782" border="0" cellspacing="0" cellpadding="0">
<tr height="131">
<td align="left" valign="top" width="782" height="131">
<table width="782" border="0" cellspacing="0" cellpadding="0" height="131">
<tr height="31">
<td width="533" background="Images/lhcms_16.jpg">
<table width="100%" border="0" cellspacing="0" cellpadding="0" height="131">
<tr>
<td rowspan="2" align="left" valign="middle">
<? include "special/index.php"; ?>
</td>
<td align="right" valign="top"><a href="?section=user_register"><img src="Images/content/head_3.jpg" alt="" height="63" width="254" border="0"></a></td>
</tr>
<tr>
<td align="right" valign="bottom"><a href="?section=bets_main"><img src="Images/content/head_2.jpg" alt="" height="62" width="254" border="0"></a></td>
</tr>
</table>
</td>
<? include "user/navi.php"; ?>
</tr>
</table>
</td>
</tr>
<tr height="33">
<td align="left" valign="top" width="782" height="33" background="Images/lhcms_28.jpg">
<table width="340" style="margin-left:430px;margin-top:14px;" cellpadding="0" cellspacing="0" border="0">
<tr>
<td>
<marquee scrollamount="1" scrolldelay="1">
<? echo get("espcms_content","content","name","newsticker"); ?>
</marquee>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td align="left" valign="top" width="782">
<table width="782" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left" valign="top" bgcolor="black" width="573">
<table width="573" border="0" cellspacing="0" cellpadding="0">
<? include "matches/matchticker.php"; ?>
<tr>
<td width="573">
<? include "content.php"; ?>
</td>
</tr>
<tr height="100">
<td width="573" height="100" background="Images/lhcms_92.jpg"></td>
</tr>
</table>
</td>
<td align="left" valign="top" bgcolor="black" width="209">
<table width="209" border="0" cellspacing="0" cellpadding="0">
<? include "sponsors/index.php"; ?>
<? include "polls/index.php"; ?>
<tr>
<td align="left" valign="top" width="209"><img src="Images/lhcms_90.jpg" width="209" height="172" alt=""></td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
<?
include "inc/foot.php";
?>

Я пробвай дали превода ще работи така? Нали си превел системата?
 
cLiford каза:
Ми не става така, ти нищо не си променил ?

Аз само енкодинга промених .. Ти да не очакваш и та ти я преведа!
 
ПХахьхьа .. омг .. ти зле ли си, или немоеш четеш ??

Аз съм го превел ве .. в bg.php сичко е преведено, просто незнам как да задам тоя език :@
 
cLiford каза:
ПХахьхьа .. омг .. ти зле ли си, или немоеш четеш ??

Аз съм го превел ве .. в bg.php сичко е преведено, просто незнам как да задам тоя език :@

Не обеснявай кой е прост или кой не е като в темата винаги излиза простия този който задава въпроса пръв :)

Земи дай inc/head.php
 
На местото на lang/de.php сложих lang/bg.php в инц/хеад.пхп , но ми дава грешка с ланга нещо .. ето хеад пак

<?
session_start();
require_once("inc/mysql.php");
$db = new MyDb();
require_once("inc/function.php");
include("inc/config.php");
require_once("inc/html_elm.php");
require_once("inc/bbcode.php");
require_once("inc/mysql_config_read.php");
require_once("inc/stats.php");
require_once("lang/de.php");
// Wenn $_GET['logout'] gesetzt ist dann loesche $_SESSION['success']
if($_GET['a'] == "logout")
{

// Wenn $_COOKIE['login_cookie'] gesetzt ist dann loesche Cookie
if(isset($_COOKIE['login_cookie']))
{
setcookie("login_cookie","",time()-3600);
}
// Loesche SESSION['success']
unset($_SESSION['success']);
unset($_SESSION['login']);
unset($_SESSION['id']);
$_COOKIE['login_cookie'] = false;
session_destroy();
$_SESSION['id'] = false;
//Leite weiter zur index.php
//header("Location: index.php?login_try=1");
}
// Wenn Sumbit gepostet wurde
if($_GET['a'] == "login")
{
// Wenn Cookie setzen "aktiv"
$setcookie = "set";
if($setcookie == "set") {
if(login($_POST['username'],$_POST['password']) == false)
{
// Wenn $_COOKIE['login_cookie'] gesetzt ist dann loesche Cookie
if(isset($_COOKIE['login_cookie'])) setcookie("login_cookie",0,time()-3600);
// Loesche SESSION['success']
unset($_SESSION['success']);
unset($_SESSION['login']);
unset($_SESSION['id']);
}
}
else
{
if(login($_POST['username'],$_POST['password'],2,1) == false)
{
// Wenn $_COOKIE['login_cookie'] gesetzt ist dann loesche Cookie
if(isset($_COOKIE['login_cookie'])) setcookie("login_cookie",0,time()-3600);
// Loesche SESSION['success']
unset($_SESSION['success']);
unset($_SESSION['login']);
unset($_SESSION['id']);
}
}

header("Location: index.php");
die();
}
//Bets schlieГџen
bets_schliessen();
if(cookie_auth())
{
last_login();
}
//reset_lostpw();
if(($life_h_config['set_wartung'] == "true") OR security($_GET['section'] == "wartung"))
{
include "inc/wartung.php";
espcms_call_stats();
die();
}

?>
 

Back
Горе