Raised This Month: $ Target: $400
 0% 

<?php echo $lang


Post New Thread Reply   
 
Thread Tools Display Modes
Author Message
dasha
Senior Member
Join Date: Apr 2012
Location: \%STEAM -> $_SESSION
Old 07-27-2012 , 13:22   <?php echo $lang
Reply With Quote #1

I'm having some problems with that func..
For example this works good:

PHP Code:
<p><?php echo $lang['text']; ?></p>
This works good too:

PHP Code:
<?
if (isset($_SESSION['user_id'])) {?>
<div class="myaccount">
<a href="account.php">»» My Account</a><br>
<a href="settings.php">»» Settings</a><br>
<a href="logout.php">»» Logout</a></div>
<? }
else {
echo 
'<span class="members_area">';
echo 
$lang["LOGIN_TITLE"]; // what i'm talking about..
echo '</span>';
echo 
'<a href="login.php" id="sign_in_btn" title="Sign In to your Account">';
echo 
'<img src="images/login.png" height="8" width="9" alt="Sign in icon">';
echo 
'<span>Sign In</span></a></a></li>';
echo 
'<p>';
echo 
'<script type="text/javascript" src="include/usersmysql.php?uvon=showon"></script>';
}
?>
But how to combine it here?

PHP Code:
$reout '<div id="uvon"><h4>Online: '. ($nrusr+$nrvst). '</h4> Visitors:  '$nrvst'<br/>Users: '$nrusr$usron'</div>'
The "Online" / "Users" & "Visitors", how should <?php echo $lang['text']; ?> work there?

Or this one; echo '<span>$lang["REGISTER_REGISTER"]</span></a>';

Last edited by dasha; 07-27-2012 at 14:26.
dasha is offline
Reply



Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 07:17.


Powered by vBulletin®
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
Theme made by Freecode