<?php
// note: session_start(); هذه الوظيفة للنقل لنفس لينك الصفحة مع المحافظة على اللغة المختارة
session_start();

    include_once("lib/config_ar.php");
    include_once("lib/func_ar.php");
	include_once("lib/change_lang.php");
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title><? title_site(); ?></title>
<link href="css/<?=CSS_LANG?>" rel="stylesheet" type="text/css" />

<!--search google-->
<meta name="Description" content="<?wordkay();?>" />
<meta name="Keywords" content="<?wordkay();?>" />
<!--/search google-->



</head>

<body>
<!-- outer -->
<div class="outer_lo">

    <!-- header -->
    <div class="header_lo">
        <div class="hedr_top">

            <div class="langlot">
                <!-- check lang -->
                <form action="main.php" method="post" name="form_lang" style="visibility:hidden;">
              		<input type="hidden" name="lang_id" value="" />
                </form>
                <!-- check lang -->
                <? if($_SESSION['lang_g']== ar){ ?>
                <a class="current first" onclick="document.form_lang.lang_id.value='en';form_lang.submit()" href="#">English</a>
                <? }elseif($_SESSION['lang_g']== en){ ?>
                <a class="current first" onclick="document.form_lang.lang_id.value='ar';form_lang.submit()" href="#"> </a>
                <? } ?>
            </div>

            <div class="chatslot">
                <!---->
                <div class="infochathome">
                                    <!--
                                    <a href="https://plus.google.com/u/0/101654490764510465932/posts" target="_blank">
                                                                    <span class="chatshere">
                                                                        <img src="images/chat/google-icon.png" />
                                                                    </span>
                                    </a>
                                    -->
                                    <a href="#" target="_blank">
                                                                    <span class="chatshere">
                                                                        <img src="images/chat/youtube-icon.png" />
                                                                    </span>
                                    </a>
                                    <a href="#" target="_blank">
                                                                    <span class="chatshere">
                                                                        <img src="images/chat/twitter-icon.png" />
                                                                    </span>
                                    </a>
                                    <a href="#" target="_blank">
                                                                    <span class="chatshere">
                                                                        <img src="images/chat/facebook-icon.png" />
                                                                    </span>
                                    </a>
                </div>
                <!---->
            </div>

        </div>
        <div class="hedr_bottom">
            <div class="serhclot">
                <form method="get" action="results_txt.php">
                                    <table border="0">
                                        <tr>
                                            <td><input type="text" name="keyword" size="20" class="textsearch" /></td>
                                            <td><input type="submit" name="submit" class="submitsearch" value="." /></td>
                                        </tr>
                                    </table>
                </form>
            </div>
            <ul>
                <li>
                    <a href="main.php" <?if($_SERVER["REQUEST_URI"] == "/lotus/main.php"){echo "class='hedractivelink'";}?> >
                        <?=HOME_LANG?>
                    </a>
                </li>
                <li><a
                        href="pages.php?id=<?if($_SESSION['lang_g']== ar){echo "1";}elseif($_SESSION['lang_g']== en){echo "7";}?>"
                        <?if($_SERVER["REQUEST_URI"] == "/lotus/pages.php?id=1" || $_SERVER["REQUEST_URI"] == "/lotus/pages.php?id=7"){echo "class='hedractivelink'";}?>
                        >
                        <?=ABOUT_LANG?>
                    </a>
                </li>
                 <li><a href="products.php"><?=Activities_LANG?></a>
                  <li><a href="pages.php?id=<?if($_SESSION['lang_g']== ar){
								echo "3";
						}elseif($_SESSION['lang_g']== en){
								echo "9";
				    }?>"> <?=Casestudey_LANG?>    </a>
                </li>
                <li> <a href="pages.php?id=<?if($_SESSION['lang_g']== ar){
								echo "4";
						}elseif($_SESSION['lang_g']== en){
								echo "10";
				    }?>">
                    <?=Patnet_LANG?>
                    </a></li>
                      <li>
                      <a href="certifecats.php"><?=Suppliers_LANG?></a></li>
                      <li><a href="news.php"><?=NEWS_LANG?></a></li>
                <!--<li><a
                        href="pages.php?id=<?if($_SESSION['lang_g']== ar){echo "13";}elseif($_SESSION['lang_g']== en){echo "14";}?>"
                        <?if($_SERVER["REQUEST_URI"] == "/lotus/pages.php?id=13" || $_SERVER["REQUEST_URI"] == "/lotus/pages.php?id=14"){echo "class='hedractivelink'";}?>
                        >
                        <?=presdent_LANG?>
                    </a>
                </li>     -->
                <li><a
                        href="pages.php?id=<?if($_SESSION['lang_g']== ar){echo "2";}elseif($_SESSION['lang_g']== en){echo "8";}?>"
                        <?if($_SERVER["REQUEST_URI"] == "/lotus/pages.php?id=2" || $_SERVER["REQUEST_URI"] == "/lotus/pages.php?id=8"){echo "class='hedractivelink'";}?>
                        >
                        <?=CONTACT_LANG?>
                    </a>
                </li>

            </ul>
        </div>
    </div>
    <!-- /header -->

    <!-- conteaner -->
    <div class="conteaner_lo">
        <div class="box_conteaner">