چه طور صفحه فارسی رو داشته باشیم؟
با یک کلیک میخواهم متن پست به فارسی تبدیل شود...
session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
}
با یک کلیک میخواهم متن پست به فارسی تبدیل شود...
session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
} session_start();
if(isset($_GET['lang'])){
session_register('theLang');
$_SESSION['theLang']=$_GET['lang'];
header("Location: index.php");
}
if($_SESSION['theLang']=="fa"){
//the Farsi Program;
}elseif($_SESSION['theLang']=="en"){
//the English Program;
}
آخرین ویرایش: