<div id="myModaleps" class="modal fade" style="display:none;">
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Choose Your Language.</h4>
</div>
<div class="modal-body">
<p>Choose Your Language.</p>
<?php
$ref = getenv("HTTP_REFERER");
$getMydomain = $_SERVER['HTTP_HOST'];
$getRefUrl = parse_url($ref, PHP_URL_HOST);
if($getRefUrl!= $getMydomain) {
$path = parse_url($ref, PHP_URL_PATH);
$_SESSION['sessUrl'] = $path;
} else {
$epscurrenyurl = get_permalink();
$path2 = $current_url=$_SERVER['REQUEST_URI'];
$_SESSION['sessUrl'] = $path2;
}
?>
<ul class="epslangbuttons"><li><a href="http://techraja.co<?php echo $_SESSION['sessUrl']; ?>">English</a></li>
<li><a href="http://hindi.techraja.co<?php echo $_SESSION['sessUrl']; ?>">हिंदी</a></li>
<li><a href="http://tamil.techraja.co<?php echo $_SESSION['sessUrl']; ?>">தமிழ்</a></li>
</ul>
</div>
</div>
</div>
</div>
<div class="modal-dialog">
<div class="modal-content">
<div class="modal-header">
<button type="button" class="close" data-dismiss="modal" aria-hidden="true">×</button>
<h4 class="modal-title">Choose Your Language.</h4>
</div>
<div class="modal-body">
<p>Choose Your Language.</p>
<?php
$ref = getenv("HTTP_REFERER");
$getMydomain = $_SERVER['HTTP_HOST'];
$getRefUrl = parse_url($ref, PHP_URL_HOST);
if($getRefUrl!= $getMydomain) {
$path = parse_url($ref, PHP_URL_PATH);
$_SESSION['sessUrl'] = $path;
} else {
$epscurrenyurl = get_permalink();
$path2 = $current_url=$_SERVER['REQUEST_URI'];
$_SESSION['sessUrl'] = $path2;
}
?>
<ul class="epslangbuttons"><li><a href="http://techraja.co<?php echo $_SESSION['sessUrl']; ?>">English</a></li>
<li><a href="http://hindi.techraja.co<?php echo $_SESSION['sessUrl']; ?>">हिंदी</a></li>
<li><a href="http://tamil.techraja.co<?php echo $_SESSION['sessUrl']; ?>">தமிழ்</a></li>
</ul>
</div>
</div>
</div>
</div>
Comments
Post a Comment