Jump to content

problem with include


yaniv81

Recommended Posts

well...

please don't don't laugh, this is like 20 minutes of working on a template, I just got stuck in the middle of changing it form English to Hebrew

 

I don't know how will u differ form Hebrew and Gibberish, but I'll give it a shot anyway...

 

http://shina411.t35.com/

 

this is the code

 

<!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" dir="rtl" lang="he">

<head>

<meta http-equiv="Content-Type" content="text/html; charset=windows-1255">

<meta http-equiv="Content-Language" content="he">

 

<title>Flex Bones</title>

<link href="style.css" rel="stylesheet" type="text/css" />

</head>

 

<body dir="rtl">

<div id="main">

<div id="main_support">

<?php include("include/topmenu.php"); ?>

<div id="headpanel">

<div id="headleftpanel"><div class="headtext01"><span dir="rtl">מיגרנה היא חלק מחייכם?</span></div></div>

<div id="headcentrepanel"><div class="headtext01">

נתפס לכם הצוואר?

</div></div>

<div id="headrightpanel"><div class="headtext01">

סובלים מכאבי גב?

</div></div>

</div>

<div id="bottompanelblank">

<div id="loginpanel">

<div id="loginleft">user login</div>

<div class="logintext">username</div><div class="txtblank"><input name="txt1" type="text" class="txtinput" /></div>

<div class="logintext">password</div><div class="txtblank"><input name="txt2" type="password" class="txtinput" /></div>

<div id="loginbutton"><a href="#" class="loginbutton">LOGIN</a></div>

<div id="logincentre">New User? Register now for</div>

<div id="loginright"><a href="#">FREE</a></div>

</div>

<div id="contentpanel">

<div id="leftpanel">

<div id="leftpaneltext01">

<p align="center" dir="rtl"><strong>אוסטאופתיה- איזון מכני של הגוף – </strong><strong><span dir="ltr">osteopathy</span></strong></p>

</div>

<div id="leftpaneltext02">Temporibus autem quibusdam et aut officiis debitis aut rerum necessitatibus </div>

<div id="testimonialpanel"><div id="testimonialtext01">“Dolor sit amet, consectetur adipisicing elit sed do eiusmod tempor senet incididunt ut labore et dolore magna aliqua”</div><div id="testimonialtext02">Jim David & Della Watson <span class="testimonialtext03">Member, Flexbones</span></div>

</div>

<div id="leftpaneltext03">Sed ut perspiciatis unde omnis iste natus <a href="#">error sit voluptatem</a> accusantium doloremque laudantium, totam rem aperiam, eaque ipsa quae ab illo inventore veritatis et quasi architecto <a href="#">beatae vitae dicta sunt</a> explicabo sed quia consequuntur magni dolores eos qui ratione</div>

<div id="trainingpanel">

<div id="trainingpic"></div>

<div id="trainingrtext1">Training Methods</div>

<div id="trainingrtext2">Neque porro quisquam est qui dolorem ipsum quia dolor sit amet consectetur.</div>

<div id="traininglist">

<div class="sublist">

<ul>

<li><a href="#">Lorem ipsum dolor sit amet consectetuer</a></li>

<li><a href="#">Aenean accumsan ligula</a></li>

<li><a href="#">Suspendisse auctor magna sit amet ante</a></li>

<li><a href="#">Nullam imperdiet nibh</a></li>

</ul>

</div>

</div>

</div>

<div id="fitnesspanel">

<div id="fitnesspic"></div>

<div id="fitnesstext1">Fitness Zone & the Trainer</div>

<div id="fitnesstext2">Quisquam est qui dolorem ipsum quia dolor sit amet consectetur fellista sed amet nonoece.</div>

<div id="fitnesslist">

<div class="sublist">

<ul>

<li><a href="#">Dolor sit amet consectetue fiesta sed amet</a></li>

<li><a href="#">Accumsan ligula norman lingula fiesta lullamore</a></li>

<li><a href="#">Auctor magna sit amet ante nenos</a></li>

<li><a href="#">Imperdiet nibh senetore corbista fellus</a></li>

</ul>

</div>

</div>

</div>

</div>

<div id="rightpanel">

<div class="righttext1">Doctors Advice</div>

<div class="righttext2">officiis debitis aut rerum necessitatibus</div>

<div id="rightlistpanel">

<div id="rightlist">

<ul>

<li><a href="#">Sed feugiat lectus </a></li>

<li><a href="#">Eget mistore</a></li>

<li><a href="#">Nulla egestas interdum nisl</a></li>

<li><a href="#">Vestibulum convallis mauris ac lorem</a></li>

<li><a href="#">Donec sollicitudin</a></li>

</ul>

</div>

</div>

<div class="righttext1">News & Events</div>

<div class="newspanel"><div class="righttext3">Diagnostic Fellus corbnis hellentroupe</div><div class="righttext4">Lorem ipsum dolor sit amet, consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div><div class="righttext5"><a href="#">read more</a></div></div>

<div class="newspanel"><div class="righttext3">Accustomed lingula ametors</div><div class="righttext4">Consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.Fellista corbildum in order to settle down heath for the genral purpose no other people can survive the trauma. Stallos corbista lullam no other force can developista.</div><div class="righttext5"><a href="#">read more</a></div></div>

<div class="newspanel"><div class="righttext3">Forbideden laullam canvastore sed amet</div><div class="righttext4">Consectetur adipisicing elit sed do eiusmod tempor incididunt ut labore et dolore magna aliqua.</div><div class="righttext5"><a href="#">read more</a></div></div>

</div>

</div>

</div>

</div>

<div id="footer">

<div id="footmenublank">

<div id="footmenuinner">

<div id="footmenu">

<ul>

<li><a href="#">Home</a></li>

<li class="fspace"><div class="fblank"></div></li>

<li><a href="#">About</a></li>

<li class="fspace"><div class="fblank"></div></li>

<li><a href="#">Diet</a></li>

<li class="fspace"><div class="fblank"></div></li>

<li><a href="#">Fitness</a></li>

<li class="fspace"><div class="fblank"></div></li>

<li><a href="#">Mind</a></li>

<li class="fspace"><div class="fblank"></div></li>

<li><a href="#">Tips</a></li>

<li class="fspace"><div class="fblank"></div></li>

<li><a href="#">Test</a></li>

<li class="fspace"><div class="fblank"></div></li>

<li><a href="#">Books</a></li>

<li class="fspace"><div class="fblank"></div></li>

<li><a href="#">Sitemap</a></li>

<li class="fspace"><div class="fblank"></div></li>

<li><a href="#">Contact</a></li>

</ul>

</div>

</div>

</div>

<div id="copyright">© Copyright Information Goes Here. All Rights Reserved.</div>

<div id="validation"><div id="validationinner"><a href="#" class="xhtml">xhtml</a><a href="#" class="css">css</a></div></div>

</div>

</div>

</body>

</html>

 

 

and this is the include

 

<div id="toppanel">

<div id="topmenu">

<ul>

<li class="space"><div class="blank"></div></li>

<li><a href="#">עמוד הבית</a></li>

<li class="space"><div class="blank"></div></li>

<li><a href="#">מהי אוסטיאופתיה?</a></li>

<li class="space"><div class="blank"></div></li>

<li><a href="#">אודות</a></li>

<li class="space"><div class="blank"></div></li>

<li><a href="#">מאמרים</a></li>

<li class="space"><div class="blank"></div></li>

<li><a href="#">צור קשר</a></li>

<li class="space"><div class="blank"></div></li>

</ul>

</div>

</div>

Link to comment
Share on other sites

This appears to be a font issue - when I pull up just the imported part, it looks weird already. http://shina411.t35.com/include/topmenu.php - However, all the other hebrew characters in your page look fine (to me, not that I know anything about them).

 

When you wrote the include part itself - is there anything different with the letters/symbols you used there vs. the ones you used on the main page?

Link to comment
Share on other sites

no...the include letters/symbols are same in both pages

as I said before if i just put it as pure HTML is 100% ok...

 

I tried "google" this...

 

and found that if i put this in the top, the "include Hebrew" works good but then all the "other Hebrew" is ruined

 

<?php 
header('Content-Type: text/html; charset=utf8');

?>

 

 

really weird...

Link to comment
Share on other sites

that's right....Dreamweaver makes it look perfect

 

anyway I found out this

 

at the company I work I looked at the Hebrew websites we have

and I found out that in the include files they actually type unknown symbol/letters to make it look good,it looks like that

 

<li><a href="reshet.html">øùú à'</a></li>
<li><a href="reshet-b.html">øùú á'</a></li>
<li><a href="reshet-g.html">øùú â'</a></li>
<li><a href="bil.html">øùú ã' (òøáéú)</a></li>
<li><a href="kol.html">÷åì äîåæé÷ä</a></li>

 

I have no idea what those letters are or how to make them...any idea????

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...