|
|
|
|
Menu |
|
|
Home |
| |
|
Discussions |
| |
|
Tools |
| |
|
Affiliates |
| |
|
Content |
| |
|
Info |
| | |
|
|
|
|
|
User Info |
|
Membership:
Latest: MichaelSnaRe
New Today: 0
New Yesterday: 0
Overall: 9144
People Online:
Visitors: 149
Members: 0
Total: 149
|
|
|
|
|
|
Full disclosure |
|
|
|
|
|
|
|
|
|
IT Security and Insecurity Portal |
|
|
[syntax error], unexpected T_CONSTANT_ENCAPSED_ST |
|
Posted: Fri Mar 22, 2013 4:59 am |
|
|
sylvester |
Beginner |
|
|
Joined: Mar 21, 2013 |
Posts: 4 |
|
|
|
|
|
|
|
Can't find the error..plz help..
Code: | <?php
session_start( );
include( "language.php" );
$empid = $_SESSION['emp_id'];
$js_id = $_SESSION['memid'];
$query = mysql_query( "select * from job_seeker where id='{$js_id}'" );
$queryselect_fetch = mysql_fetch_array( $query );
$uname = $queryselect_fetch['uname'];
$page = mysql_query( "select * from page where status='active' and position='topheader' or position='both'" );
$num_page = mysql_num_rows( $page );
$rs0 = mysql_fetch_array( mysql_query( "select * from zw_websetting" ) );
$page_name = basename( $_SERVER['PHP_SELF'] );
echo "<s";
echo "cript type=\"text/javascript\" src=\"language_change.js\"></script>\r\n\r\n<table width=\"1003px\" border=\"0\" align=\"center\" cellpadding=\"0\" cellspacing=\"0\" id=\"htab\">\r\n <tr>\r\n\t\t\t<td width=\"36%\" align=\"left\" valign=\"top\" style=\"padding-left:10px; padding-top:5px;\">\r\n\t\t\t";
if ( isset( "js_id" ) == true )
{
echo "\t\t\t\t";
echo $label['hdr_welcom'];
echo " ";
echo "<s";
echo "pan class=\"bluetext\">";
echo $uname;
echo "</span> | <a href=\"jobseekers/logout.php\">";
echo $label['hdr_lgout'];
echo "</a>\r\n\t\t\t";
}
else
{
echo "\t\t\t<a href=\"jobseekers/jobseekerloginpage.php\">";
echo $label['hdr_sigin'];
echo "</a> | <a href=\"jobseekers/jobseeker_registration.php\">";
echo $label['hdr_reg'];
echo "</a>\r\n\t\t\t";
}
echo "</td>\r\n\t\t\t\r\n <td width=\"64%\" align=\"right\" valign=\"top\" style=\"padding-left:10px; padding-top:5px; padding-right:7px;\">";
if ( $rs0['frontend_lng'] == "yes" )
{
echo " ";
echo "<s";
echo "elect name=\"language\" id=\"language\" onchange=\"languages(this.value,'";
echo $page_name;
echo "')\">\r\n\t\t\t<option value=''>select language</option>\r\n\t\t\t\t\t ";
$lang_query = mysql_query( "select * from language order by langname asc" );
while ( $language_fetch = mysql_fetch_array( $lang_query ) )
{
echo " <option value=\"";
echo $language_fetch['langid'];
echo "\"";
if ( $_SESSION['langid'] == $language_fetch['langid'] )
{
echo "selected";
}
echo "> ";
echo $language_fetch['langname'];
echo "</option>\r\n\t\t\t\t\t";
}
echo " </select> | ";
}
echo "\t\t\t<a href=\"index.php\">";
echo $label['hdr_hom'];
echo "</a> | \r\n\t\t\t";
$j = 1;
while ( $page_fetch = mysql_fetch_array( $page ) )
{
echo "\t\t\t";
echo "<a href='aboutcompany-".$page_fetch[id]."-".urlconvert( $page_fetch[pagename] ).".html' class='alink'>{$page_fetch['pagename']}</a>";
if ( $j != $num_page )
{
echo " ;;|";
}
echo " \r\n\t\t\t";
++$j;
}
echo "\t\t\t| <a href=\"news_all.php\">";
echo $label['hdr_lat_news'];
echo "</a>\t</td>\r\n </tr>\r\n <tr>\r\n <td height=\"46\" align=\"left\" valign=\"top\" style=\"padding-top:12px; padding-bottom:-5px;\"><a href=\"index.php\"><img src=\"";
echo $rs0['adminfolder'];
echo "/";
echo $rs0['logo'];
echo "\" border=\"0\" /></a></td>\r\n <td colspan=\"2\" align=\"right\" valign=\"middle\" style=\"padding-right:2px; padding-top:12px; padding-bottom:5px;\"><div id=\"ReloadThis\">";
include( "top_banner.php" );
echo "</div></td>\r\n </tr>\r\n</table>\r\n";
include( "mainmenu.php" );
echo "\t\t";
?>
|
|
|
|
|
|
|
|
|
|
Posted: Fri Mar 22, 2013 9:56 am |
|
|
pirate-sky |
Advanced user |
|
|
Joined: Dec 17, 2012 |
Posts: 75 |
|
|
|
|
|
|
|
|
|
|
|
Posted: Sat Mar 23, 2013 4:19 am |
|
|
sylvester |
Beginner |
|
|
Joined: Mar 21, 2013 |
Posts: 4 |
|
|
|
|
|
|
|
Could you please tell me what was the error? |
|
|
|
|
www.waraxe.us Forum Index -> How to fix
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
All times are GMT
Page 1 of 1
|
|
|
Powered by phpBB © 2001-2008 phpBB Group
|
|
|
|
|
|
|