مشکل در آدرس دهی برروی معماری

16 views
Skip to first unread message

aladavoudi

unread,
Sep 6, 2012, 3:07:37 AM9/6/12
to web_desig...@googlegroups.com
سلام دوستان.من در آدرس دهی برروی معماری مشکل دارم میشه راجع به طریقه ان برام  توضیح بدید؟و بروقتی از معماری استفاده میکنم اطلاعاتم برروی دیتا بیس نمیشینه..ممنون

Niloofar Kolahchi

unread,
Sep 6, 2012, 3:17:11 AM9/6/12
to web_desig...@googlegroups.com
tooye page index tamame <div> hayi ke mikhay bezari ro moshakhas kon.baad oon div ke mikhad modam tuye paget taghir kone ro dar file haye dge besaz baad oon file haro too index include kon.age motevajeh nashodi bazam tozih midam.

aladavoudi

unread,
Sep 6, 2012, 3:29:22 AM9/6/12
to web_desig...@googlegroups.com
میشه یکم بیشتر توضیح بدی؟دچار مشکل شدم.

Niloofar Kolahchi

unread,
Sep 6, 2012, 3:47:37 AM9/6/12
to web_desig...@googlegroups.com

bebin masalan tuye index mikhay 4 ta <div> bendazi,background,footer,header va 1 <div> asli beine header  va footer ke miakhy menu bezari balash va ziresh content aslie page ro,hala masalan tuye menu chanta link dari mesle "khane", "ozviat" ya harchize dge,to bia baraye harkodum az link ha ye file php jadid besaz,content marbut be linketo toosh bezar ,baad ba dastoore payin, page oon linke khas ro dar hamoon <div> asli harjash ke mikhay biofte include kon.



<?php
if(file_exists('part/'.$IncludePath))
include_once('part/' . $IncludePath);
else
include_once('part/home.php');
?>
    </div>



be jaye in home ham addressi ro bezar ke mikhay dar halate adi namayesh dade beshe
B60.gif

aladavoudi

unread,
Sep 7, 2012, 8:57:50 AM9/7/12
to web_desig...@googlegroups.com
<?php
session_start();


  if(isset($_GET['p']))
                {
  
                        
                         if($_GET['p']=="Aventador-J.php")
                        {include_once('parts/Aventador-J.php');}//2
else if($_GET['p']=="main.php")
                        {include_once('parts/main.php');}//1
else if($_GET['p']=="billing.php")
                        {include_once('parts/billing.php');}//3
else if($_GET['p']=="company.php")
                        {include_once('parts/company.php');}//4
                 }
?>

<body>

<?php include("template/header.php"); ?>

    <div class="left">
      <div class="article">
        <h2 align="right"><a href="#">LAMBORGHINI</a></h2>

     
      <p>&nbsp;</p>

      
       <p align="right">

Lamborghini Aventador with the most intense experience of power and dynamics imaginable in an automobile.

</p>
       <object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="579" height="198" id="FlashID" title="Main">
         <param name="movie" value="asset/main.swf" />
         <param name="quality" value="high" />
         <param name="wmode" value="opaque" />
         <param name="swfversion" value="6.0.65.0" />
         <!-- This param tag prompts users with Flash Player 6.0 r65 and higher to download the latest version of Flash Player. Delete it if you don’t want users to see the prompt. -->
         <param name="expressinstall" value="Scripts/expressInstall.swf" />
         <!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. -->
         <!--[if !IE]>-->
         <object type="application/x-shockwave-flash" data="asset/main.swf" width="579" height="198">
           <!--<![endif]-->
           <param name="quality" value="high" />
           <param name="wmode" value="opaque" />
           <param name="swfversion" value="6.0.65.0" />
           <param name="expressinstall" value="Scripts/expressInstall.swf" />
           <!-- The browser displays the following alternative content for users with Flash Player 6.0 and older. -->
           <div>
             <h4>Content on this page requires a newer version of Adobe Flash Player.</h4>
             <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Get Adobe Flash player" /></a></p>
           </div>
           <!--[if !IE]>-->
         </object>
         <!--<![endif]-->
       </object>
      </div>
    </div>

</div>


<script type="text/javascript">
swfobject.registerObject("FlashID");
    </script>
    <?php include("template/footer.php"); ?>
</body>


in safhe index mane......
hala inam safhe headere man....


<li><a href="?p=main.php">صفحه اصلی</a></li>
<li><a href="?p=models.php">مدل ها</a></li>
<li><a href="?p=company.php">کمپانی</a></li>
<li><a href="?p=innovation.php">نو آوری</a></li>
<li><a href="?p=contactus.php">ارتباط با ما</a></li>
                 
hala dge dakhele linkam ham harchi hast hast....
ama moshkele asasi injast ke vaghti masalan ro company mizanam safhe company ke miad ziresh daghighan index ham miad..
moshkele ma kojast?
Reply all
Reply to author
Forward
0 new messages