Advertisement

08.10.2008 at 05:14PM PDT, ID: 23636693
[x]
Attachment Details
[x]
The Solution Rating System

With so many solutions, how can you tell which solutions are most likely to help you and which ones are not? To provide you with a tool to use, we rate our solutions based on various elements that most accurately determine if a solution is a quality solution. To explain what factors affect the solution rating, here are the elements we take into consideration when formulating our solution rating.

  • The Grade of the Solution
  • The Zone Rank of the Expert Providing the Solution
  • The Number of Author and Expert Comments
  • The Number of Experts Contributing
  • The Feedback of the Community

Your Input Matters
Because of the way the system is set up, the most important variable in this equation is you. As a member of Experts Exchange, you are able to cast your vote on the quality of the solutions in regard to how complete, accurate, helpful and easy to understand each solution is. When you provide your feedback, each rating is adjusted accordingly. So, if you see a solution that has a poor rating that you think is a good solution, let us know by rating it. As you do, the rating will be adjusted and will become more accurate for other members of our site.

If you have any suggestions that you would like to make for our rating system, please ask a question in the Suggestions Zone of Community Support.

Thank you!

8.4

Move Button

Asked by RAH104 in Hypertext Markup Language (HTML), PHP Scripting Language

Tags:

Hello,

I am trying to do the following on http://myvubo.com

Move the "Logout" tab in the header to the far right....the end of the line.

Attached is header.php, the file which controls the header.

Any ideas?

Thanks.Start Free Trial
1:
2:
3:
4:
5:
6:
7:
8:
9:
10:
11:
12:
13:
14:
15:
16:
17:
18:
19:
20:
21:
22:
23:
24:
25:
26:
27:
28:
29:
30:
31:
32:
33:
34:
35:
36:
37:
38:
39:
40:
41:
42:
43:
44:
45:
46:
47:
48:
49:
50:
51:
52:
53:
54:
55:
56:
57:
58:
59:
60:
61:
62:
63:
64:
65:
66:
67:
68:
69:
70:
71:
72:
73:
74:
75:
76:
77:
78:
79:
80:
81:
82:
83:
84:
85:
86:
87:
88:
89:
90:
91:
92:
93:
94:
95:
96:
97:
98:
99:
100:
101:
102:
103:
104:
105:
106:
107:
108:
109:
110:
111:
112:
113:
114:
115:
116:
117:
118:
119:
120:
121:
122:
123:
124:
125:
126:
127:
128:
129:
130:
131:
132:
133:
134:
135:
136:
137:
138:
139:
140:
141:
142:
143:
144:
145:
146:
147:
148:
149:
150:
151:
152:
153:
154:
155:
156:
157:
158:
159:
160:
161:
162:
163:
164:
165:
166:
167:
168:
169:
170:
171:
172:
173:
174:
175:
176:
177:
178:
179:
180:
181:
182:
183:
184:
185:
186:
187:
188:
189:
190:
191:
192:
193:
194:
195:
196:
197:
198:
199:
200:
201:
202:
203:
204:
205:
206:
207:
208:
209:
210:
211:
212:
213:
214:
215:
216:
217:
218:
219:
220:
221:
222:
223:
224:
225:
226:
227:
228:
229:
230:
231:
232:
233:
234:
235:
236:
237:
238:
239:
240:
241:
242:
243:
244:
245:
246:
247:
248:
249:
250:
251:
252:
253:
254:
255:
256:
257:
258:
259:
260:
261:
262:
263:
264:
265:
266:
267:
268:
269:
270:
271:
272:
273:
274:
275:
276:
277:
278:
279:
280:
281:
282:
283:
284:
285:
286:
287:
288:
289:
290:
291:
292:
293:
294:
295:
296:
297:
298:
299:
300:
301:
302:
303:
304:
305:
306:
307:
308:
309:
310:
311:
312:
313:
314:
315:
316:
317:
318:
319:
320:
321:
322:
323:
324:
325:
326:
327:
328:
329:
330:
331:
332:
333:
334:
335:
336:
337:
338:
339:
340:
341:
342:
343:
344:
345:
346:
347:
348:
349:
350:
351:
352:
353:
354:
355:
356:
357:
358:
359:
360:
361:
362:
363:
364:
365:
366:
367:
368:
369:
370:
371:
372:
373:
374:
375:
376:
377:
378:
379:
380:
381:
382:
383:
384:
385:
386:
387:
388:
389:
390:
391:
392:
393:
394:
395:
396:
397:
398:
399:
400:
401:
402:
403:
404:
405:
406:
407:
408:
409:
410:
411:
412:
413:
414:
415:
416:
417:
418:
419:
420:
421:
422:
423:
424:
425:
426:
427:
428:
429:
430:
431:
432:
433:
434:
435:
436:
437:
438:
439:
440:
441:
442:
443:
444:
445:
446:
447:
448:
449:
450:
451:
452:
453:
454:
455:
456:
457:
458:
459:
460:
461:
462:
463:
464:
465:
466:
467:
468:
469:
470:
471:
472:
473:
474:
475:
476:
477:
478:
479:
480:
481:
482:
483:
484:
485:
486:
487:
488:
489:
490:
491:
492:
493:
494:
495:
496:
497:
498:
499:
500:
501:
502:
503:
504:
505:
506:
507:
508:
509:
510:
511:
512:
513:
514:
515:
516:
517:
<?
## v3.5 -> apr. 05, 2006
if ( !defined('INCLUDED') ) { die("Access Denied"); }
### enter hit into stats table
if ($setts['maintenance_mode']==1&&$_SESSION['adminarea']!="Active") { 
	include_once ("maintenance_splash_page.php");
	die();
}
 
function getmicrotime() 
{ 
   list($usec, $sec) = explode(" ", microtime()); 
   return ((float)$usec + (float)$sec); 
}
 
$time_start = getmicrotime();
$currentTime = time();
### Site Stats currently disabled 
/* $refererSite=getenv("HTTP_REFERER");
$enterhit = mysql_query("INSERT INTO probid_stats (userip,userbrowser,clickdate,referralsite) 
VALUES ('".$_SERVER['REMOTE_ADDR']."','".$_SERVER['HTTP_USER_AGENT']."','".$currentTime."','".$refererSite."')") or die(mysql_error());
*/
### session language settings
if(!$_SESSION['sess_lang']) {
	include_once ("config/lang/".$setts['default_lang']."/site.lang");
	$_SESSION['sess_lang']="".$setts['default_lang']."";
	include_once ("config/lang/".$setts['default_lang']."/category.lang");
}else{
	include_once ("config/lang/".$_SESSION['sess_lang']."/site.lang");
	include_once ("config/lang/".$_SESSION['sess_lang']."/category.lang");
}
 
## modification regarding the SSL - only the registration and login page will be in SSL.
$path = $setts['siteurl'];
$path_ssl = ($setts['is_ssl']==1) ? $setts['ssl_address'] : $setts['siteurl'];
 
## show sell button
if ($setts['private_site']=="Y") $showSell = $_SESSION['is_seller'];
else $showSell="Y";
 
if ($_SESSION['membersarea']=="Active"||$_SESSION['accsusp']==2) {
	$btn2_link=$path."sellitem.php";
	$btn3_caption=$lang[Cap_members];
	$btn3_link=$path."membersarea.php";
	$btn4_caption=$lang[Cap_logout];
	$btn4_link=$path."index.php?option=logout";
} else {
	$btn2_link=$path_ssl."login.php?redirect=sell";
	$btn3_caption=$lang['Cap_register'];
	$btn3_link=$path_ssl."register.php";
	$btn4_caption=$lang['Cap_login'];
	$btn4_link=$path_ssl."login.php";
}
include ("themes/".$setts['default_theme']."/title.php");
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>
<? 
if (eregi("auctiondetails.php",$_SERVER['PHP_SELF'])) echo getSqlField("SELECT itemname FROM probid_auctions WHERE id='".$_GET['id']."'","itemname")." - ";
if (eregi("wanted.details.php",$_SERVER['PHP_SELF'])) echo getSqlField("SELECT itemname FROM probid_wanted_ads WHERE id='".$_GET['id']."'","itemname")." - ";
else if (eregi("categories.php",$_SERVER['PHP_SELF'])) { 
	$cat_title = getSqlField("SELECT name FROM probid_categories WHERE id='".$_REQUEST['parent']."'","name");
	if ($cat_title!=""&&$cat_title!="n/a") echo $cat_title." - ";
}
echo $setts['sitename'];
?>
</title>
<?
if (eregi("categories.php",$_SERVER['PHP_SELF'])) {
	$meta_cat = getMainCat($_REQUEST['parent']);
	$meta_details = getSqlRow("SELECT meta_description, meta_keywords FROM probid_categories WHERE id='".$meta_cat."'");
}	
?>
<meta http-equiv="Content-Type" content="text/html; charset=<?=$lang[codepage];?>">
<? 
if ($meta_details['meta_description']!=""||$meta_details['meta_keywords']!="") {
	echo "<meta name=\"description\" content=\"".$meta_details['meta_description']."\"> \n";
	echo "<meta name=\"keywords\" content=\"".$meta_details['meta_keywords']."\"> \n";
} else {
	echo addSpecialChars(getSqlField ("SELECT metatags FROM probid_gen_setts","metatags"));
}
 
if (eregi("shop", $_SERVER['PHP_SELF'])) {
	$store_metatags = getSqlField("SELECT store_metatags FROM probid_users WHERE id='".$_REQUEST['userid']."'", "store_metatags");
	if (!empty($store_metatags)) echo "<meta name=\"keywords\" content=\"".$store_metatags."\"> \n";
}
?>
<link href="themes/<?=$setts['default_theme'];?>/style.css" rel="stylesheet" type="text/css">
<style type="text/css">
<!--
.lb {
	background-image:  url(themes/<?=$setts['default_theme'];?>/img/lb_bg.gif);
}
.db {
	background-image:  url(themes/<?=$setts['default_theme'];?>/img/db_bg.gif);
}
-->
</style>
<script language="javascript" src="themes/<?=$setts['default_theme'];?>/main.js" type="text/javascript"></script>
<script language=JavaScript src='scripts/innovaeditor.js'></script>
<script type="text/javascript">
<? $diff=getSqlField("SELECT * FROM probid_timesettings WHERE active='selected'","value"); ?>
var currenttime = '<? print date("F d, Y H:i:s", time()+$diff*3600)?>';
var serverdate=new Date(currenttime);
 
function padlength(what){
	var output=(what.toString().length==1)? "0"+what : what;
	return output;
}
 
function displaytime(){
	serverdate.setSeconds(serverdate.getSeconds()+1)
	var timestring=padlength(serverdate.getHours())+":"+padlength(serverdate.getMinutes())+":"+padlength(serverdate.getSeconds());
	document.getElementById("servertime").innerHTML=timestring;
}
 
window.onload=function(){
	setInterval("displaytime()", 1000);
}
 
</script>
</head>
<body bgcolor="#ffffff" leftmargin="5" topmargin="5" marginwidth="5" marginheight="5" <? if (eregi("index.php",$_SERVER['PHP_SELF'])) { ?>onLoad="loadScroller()"<? } ?>>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
   <td width="100%"><table width="100%" border="0" cellpadding="0" cellspacing="0" style="border-bottom: 4px solid #0f3f79;">
         <tr valign="bottom">
            <td><img src="images/Auction_Online.gif?<?=rand(2,9999);?>" alt="MyVuBo Online Auction Service" vspace="4"></td>
            <td width="100%" valign="bottom" style="padding-left: 30px;"><div class="toplink" align="right" style="padding: 10px;"> <a href="<?=$path;?>index.php">
                  <?=$lang[Cap_home];?>
                  </a> | 
                  &nbsp;<a href="<?=$path;?>faq.php">
                  <?=$lang[Cap_faq];?>
                  </a>
                  <? if ($layout['is_about']=="Y") { ?>
                  | <a href="<?=$path;?>aboutus.php">
                  <?=$lang[Cap_about];?>
                  </a>
                  <? } ?>
                  <? if ($layout['is_contact']=="Y") { ?>
                  | <a href="<?=$path;?>contactus.php">
                  <?=$lang[Cap_contact];?>
                  </a>
                  <? } ?>
               </div>
               <? ## calculate width
					$headerCells = 3;
					if ($showSell == "Y") $headerCells ++;
					if ($setts['enable_wantedads'] == "Y") $headerCells ++;
					if ($setts['stores_enabled'] == "Y") $headerCells++;
					if ($layout['is_about'] == "Y") $headerCells ++;
					if ($layout['is_contact'] == "Y") $headerCells ++;
					$headBtnWidth = 100/$headerCells."%";
					?>
               <table width="100%" border="0" cellspacing="0" cellpadding="0">
                  <tr height="31" align="center">
                     <? if (eregi("index.php",$_SERVER['PHP_SELF'])) { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/db_s.gif" width="6" height="31"></td>
                     <td nowrap class="db mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>index.php">
                        <?=$lang[Cap_home];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/db_e.gif" width="8" height="31"></td>
                     <? } else {?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/lb_s.gif" width="6" height="31"></td>
                     <td nowrap class="lb mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>index.php">
                        <?=$lang[Cap_home];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/lb_e.gif" width="8" height="31"></td>
                     <? } ?>
                     <? if ($showSell=="Y") { 
								if (eregi("sellitem.php",$_SERVER['PHP_SELF'])) { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/db_s.gif" width="6" height="31"></td>
                     <td nowrap class="db mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$btn2_link;?>">
                        <?=$lang[Cap_sell];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/db_e.gif" width="8" height="31"></td>
                     <? } else {?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/lb_s.gif" width="6" height="31"></td>
                     <td nowrap class="lb mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$btn2_link;?>">
                        <?=$lang[Cap_sell];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/lb_e.gif" width="8" height="31"></td>
                     <? } } 
            	 		if (eregi("membersarea.php",$_SERVER['PHP_SELF'])||eregi("register.php",$_SERVER['PHP_SELF'])) { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/db_s.gif" width="6" height="31"></td>
                     <td nowrap class="db mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$btn3_link;?>">
                        <?=$btn3_caption;?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/db_e.gif" width="8" height="31"></td>
                     <? } else { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/lb_s.gif" width="6" height="31"></td>
                     <td nowrap class="lb mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$btn3_link;?>">
                        <?=$btn3_caption;?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/lb_e.gif" width="8" height="31"></td>
                     <? } if (eregi("login.php",$_SERVER['PHP_SELF'])) { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/db_s.gif" width="6" height="31"></td>
                     <td nowrap class="db mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$btn4_link;?>">
                        <?=$btn4_caption;?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/db_e.gif" width="8" height="31"></td>
                     <? } else {?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/lb_s.gif" width="6" height="31"></td>
                     <td nowrap class="lb mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$btn4_link;?>">
                        <?=$btn4_caption;?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/lb_e.gif" width="8" height="31"></td>
                     <? } 
							if ($setts['stores_enabled']=="Y") { 
								if (eregi("stores.php",$_SERVER['PHP_SELF'])) { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/db_s.gif" width="6" height="31"></td>
                     <td nowrap class="db mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>stores.php">
                        <?=$lang[Cap_stores];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/db_e.gif" width="8" height="31"></td>
                     <? } else {?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/lb_s.gif" width="6" height="31"></td>
                     <td nowrap class="lb mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>stores.php">
                        <?=$lang[Cap_stores];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/lb_e.gif" width="8" height="31"></td>
                     <? } } 
							if ($setts['enable_wantedads']=="Y") { 
								if (eregi("wanted.categories.php",$_SERVER['PHP_SELF'])) { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/db_s.gif" width="6" height="31"></td>
                     <td nowrap class="db mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>wanted.categories.php">
                        <?=$lang[Cap_wantedads];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/db_e.gif" width="8" height="31"></td>
                     <? } else {?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/lb_s.gif" width="6" height="31"></td>
                     <td nowrap class="lb mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>wanted.categories.php">
                        <?=$lang[Cap_wantedads];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/lb_e.gif" width="8" height="31"></td>
                     <? }  } 
							if (eregi("help.php",$_SERVER['PHP_SELF'])) { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/db_s.gif" width="6" height="31"></td>
                     <td nowrap class="db mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>help.php">
                        <?=$lang[Cap_help];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/db_e.gif" width="8" height="31"></td>
                     <? } else {?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/lb_s.gif" width="6" height="31"></td>
                     <td nowrap class="lb mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>help.php">
                        <?=$lang[Cap_help];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/lb_e.gif" width="8" height="31"></td>
                     <? } 
             			if (eregi("sitefees.php",$_SERVER['PHP_SELF'])) { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/db_s.gif" width="6" height="31"></td>
                     <td nowrap class="db mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>sitefees.php">
                        <?=$lang[Cap_fees];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/db_e.gif" width="8" height="31"></td>
                     <? } else { ?>
                     <td width="6"><img src="themes/<?=$setts['default_theme'];?>/img/lb_s.gif" width="6" height="31"></td>
                     <td nowrap class="lb mainmenu" width="<?=$headBtnWidth;?>">&nbsp;<a href="<?=$path;?>sitefees.php">
                        <?=$lang[Cap_fees];?>
                        </a>&nbsp;</td>
                     <td width="8"><img src="themes/<?=$setts['default_theme'];?>/img/lb_e.gif" width="8" height="31"></td>
                     <? } ?>
                  </tr>
               </table></td>
         </tr>
      </table>
      <table width="100%" height="29" border="0" cellpadding="0" cellspacing="0" bgcolor="#efefef" style="border: 1px solid #a6a6a6; border-top: 2px solid #a6a6a6;">
         <tr height="31">
            <td width="194" nowrap align="center" class="search">&nbsp;&nbsp;&nbsp;
               <?php 
					$diff=getSqlField("SELECT * FROM probid_timesettings WHERE active='selected'","value");
					echo date(substr($setts['date_format'],0,7),time()+($diff*3600)) ?>
               <span id="servertime"></span>&nbsp;&nbsp;&nbsp;</td>
            <form action="auctionsearch.php" method="post">
               <td class="search" nowrap style="border-left: 1px solid #dddddd;">&nbsp;&nbsp;&nbsp;<a href="<?=$path;?>search.php">
                  <?=$lang[Cap_search];?>
                  </a>&nbsp;&nbsp;&nbsp;</td>
               <td class="search" nowrap><INPUT size=25 name="basicsearch">
                  &nbsp;&nbsp;&nbsp;</td>
               <td class="search" nowrap><input name="searchok" type="submit" value="<?=$lang[search]?>">
                  &nbsp;&nbsp;&nbsp;</td>
            </form>
            <td class="search" nowrap style="border-left: 1px solid #dddddd;">&nbsp;&nbsp;&nbsp;
               <?=$lang[browse];?>
               &nbsp;&nbsp;</td>
            <form name="catbrowse" method="post" action="<?=$path;?>categories.php">
               <input type="hidden" name="show" value="subcats">
               <? $getCategories = mysql_query("SELECT id,name FROM probid_categories WHERE parent=0 AND hidden=0 AND userid=0 ORDER BY theorder,name");?>
               <td width="100%" class="search"><select name="parent" onChange="javascript:catbrowse.submit()">
                     <option value="" selected>
                     <?=$lang[choosecat];?>
                     </option>
                     <? while($category=mysql_fetch_array($getCategories)) { ?>
                     <option value="<?=$category['id'];?>" <? echo (($category['id']==$_REQUEST['parent'])?"selected":"");?>>
                     <?=$c_lang[$category['id']];?>
                     </option>
                     <? } ?>
                     <option value="">------------------------</option>
                     <option value="0">
                     <?=$lang[allcats];?>
                     </option>
                  </select>
               </td>
            </form>
            <? if ($setts['user_lang']==1) { ?>
            <td nowrap style="border-left: 1px solid #dddddd;"><!-- ADD THE FOLLOWING CODE WHEREEVER YOU WANT YOUR LANGUAGE OPTIONS TO SHOW-->
               <div align="center"> &nbsp;&nbsp;
                  <? include ("config/lang/list2.php");
						$langlist = explode(" ", $langlist);
						$sizeofarray = count($langlist)-1; 
						for ($z=0; $z < $sizeofarray; $z++) {
							
							echo "<img src=\"themes/".$setts['default_theme']."/img/".$langlist[$z].".gif\" border=\"0\" alt=\"$langlist[$z]\"></a>&nbsp;&nbsp;";
						} ?>
               </div>
               <!-- END ADDITION -->
            </td>
            <? } ?>
         </tr>
      </table>
      <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="10"></div>
      <table width="100%" border="0" cellspacing="0" cellpadding="0">
      <tr valign="top">
         <? if (eregi("index.php",$_SERVER['PHP_SELF'])) {} else { ?>
         <td width="180"><script language="javascript">
					var ie4 = false; 
					if(document.all) { ie4 = true; }
 
					function getObject(id) { if (ie4) { return document.all[id]; } else { return document.getElementById(id); } }
					function toggle(link, divId) { 
						var lText = link.innerHTML; 
						var d = getObject(divId);
						if (lText == '+') { link.innerHTML = '&#8211;'; d.style.display = 'block'; }
						else { link.innerHTML = '+'; d.style.display = 'none'; } 
					}
				</script>
            <?
				if ($_SESSION['membersarea']=="Active") { 
					$getAn=mysql_query("SELECT id,date,title FROM probid_announcements WHERE active=1 AND lang='".$_SESSION['sess_lang']."' ORDER BY date DESC");
					$nbAn=mysql_num_rows($getAn);
					if ($nbAn>0) { 
						header6("$lang[member_announcements2] [<a title=\"show/hide\" class=\"hidelayer\" id=\"exp1102170555_link\" href=\"javascript: void(0);\" onclick=\"toggle(this, 'exp1102170555');\">&#8211;</a>]"); ?>
            <div id="exp1102170555">
               <table width="100%" border="0" cellspacing="0" cellpadding="3">
                  <tr>
                     <td class="c4"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
                     <td class="c3"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
                  </tr>
                  <? while ($ans=mysql_fetch_array($getAn)) { ?>
                  <tr>
                     <td class="c3"><img src="themes/<?=$setts['default_theme'];?>/img/arrow.gif" width="8" height="8" hspace="4"></td>
                     <td width="100%" class="c2 smallfont"><b><? echo displaydatetime($ans['date'],substr($setts['date_format'],0,7));?></b></td>
                  </tr>
                  <tr class="contentfont">
                     <td class="c4"></td>
                     <td class="c3"><a href="<?=$path;?>viewannouncement.php?id=<?=$ans['id'];?>">
                        <?=$ans['title'];?>
                        </a> </td>
                  </tr>
                  <? } ?>
               </table>
            </div>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
            <? } } ?>
            <? if ($_SESSION['membersarea']=="Active"||$_SESSION['accsusp']==2) { ?>
            <? header7("$lang[memarea_title] [<a title=\"show/hide\" class=\"hidelayer\" id=\"exp1102170142_link\" href=\"javascript: void(0);\" onclick=\"toggle(this, 'exp1102170142');\">&#8211;</a>]");?>
            <div id="exp1102170142">
               <table border="0" cellpadding="1" cellspacing="1" width="100%" class="c4">
                  <tr>
                     <td align="center" height="35"><b style="font-size: 10px;">
                        <?=$lang[welcome];?>
                        ,<br>
                        <? echo $_SESSION['membername']; ?></b> </td>
                  </tr>
                  <tr>
                     <td class="c5"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="1"></td>
                  </tr>
               </table>
               <? if ($showSell=="Y") { ?>
               <table border="0" cellpadding="3" cellspacing="2" width="100%" class="c4">
                  <? if ($_SESSION['accsusp']!=2) { ?>
                  <tr align="center" bgcolor="white">
                     <td width="50%"><a class="membutt" href="membersarea.php?page=bidding"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_bidding.gif" width="40" height="40" border="0"><br>
                        <?=$lang[bidding_img]?>
                        </a></td>
                     <td width="50%"><a class="membutt" href="membersarea.php?page=selling"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_selling.gif" width="40" height="40" border="0"><br>
                        <?=$lang[selling_img]?>
                        </a></td>
                  </tr>
                  <tr align="center" bgcolor="white">
                     <td><a class="membutt" href="membersarea.php?page=feedback"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_feedback.gif" width="40" height="40" border="0"><br>
                        <?=$lang[feedback_img]?>
                        </a></td>
                     <? if ($setts['enable_bulk_lister']==1) { ?>
                     <td><a class="membutt" href="membersarea.php?page=bulk"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_bulk.gif" width="40" height="40" border="0"><br>
                        <?=$lang[bulk_img]?>
                        </a></td>
                     <? } ?>
                  </tr>
                  <tr align="center" bgcolor="white">
                     <td><a class="membutt" href="membersarea.php?page=aboutme"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_aboutme.gif" width="40" height="40" border="0"><br>
                        <?=$lang[aboutme_img]?>
                        </a></td>
                     <td><a class="membutt" href="abusereport.php"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_abuse.gif" width="40" height="40" border="0"><br>
                        <?=$lang[abuse]?>
                        </a></td>
                  </tr>
                  <tr align="center" bgcolor="white">
                     <? if ($setts['enable_wantedads']=="Y") { ?>
                     <td><a class="membutt" href="membersarea.php?page=wanted"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_wanted.gif" width="40" height="40" border="0"><br>
                        <?=$lang[wanted_img]?>
                        </a> </td>
                     <? } ?>
                     <? if ($setts['stores_enabled']=="Y") { ?>
                     <td><a class="membutt" href="membersarea.php?page=store"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_store.gif" width="40" height="40" border="0"><br>
                        <?=$lang[store_img]?>
                        </a></td>
                     <? } ?>
                  </tr>
                  <? } ?>
                  <tr align="center" bgcolor="white">
                     <td><a class="membutt" href="membersarea.php?page=preferences"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_details.gif" width="40" height="40" border="0"><br>
                        <?=$lang[details_img]?>
                        </a></td>
                     <td><a class="membutt" href="index.php?option=logout"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_logout.gif" width="40" height="40" border="0"><br>
                        <?=$lang[logout]?>
                        </a></td>
                  </tr>
               </table>
               <? } else { ?>
               <table border="0" cellpadding="3" cellspacing="2" width="100%" bgcolor="#e9e9eb">
                  <? if ($_SESSION['accsusp']!=2) { ?>
                  <tr align="center" bgcolor="white">
                     <td width="50%"><a class="membutt" href="membersarea.php?page=bidding"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_bidding.gif" width="40" height="40" border="0"><br>
                        <?=$lang[bidding_img]?>
                        </a></td>
                     <td width="50%"><a class="membutt" href="membersarea.php?page=feedback"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_feedback.gif" width="40" height="40" border="0"><br>
                        <?=$lang[feedback_img]?>
                        </a></td>
                  </tr>
                  <? } ?>
                  <tr align="center" bgcolor="white">
                     <td><a class="membutt" href="membersarea.php?page=preferences"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_details.gif" width="40" height="40" border="0"><br>
                        <?=$lang[details_img]?>
                        </a></td>
                     <td><a class="membutt" href="index.php?option=logout"><img src="themes/<?=$setts['default_theme'];?>/img/system/ma_logout.gif" width="40" height="40" border="0"><br>
                        <?=$lang[logout]?>
                        </a></td>
                  </tr>
               </table>
               <? } ?>
               <? } else { ?>
               <? if ($_SESSION['membersarea']!="Active"&&$layout['d_login_box']==1&&$setts['is_ssl']!=1) { ?>
               <? header7("$lang[memarea_title]");?>
               <table border="0" cellpadding="2" cellspacing="2" width="100%" class="c4">
                  <form action="<?=$path_ssl;?>login.php" method="post" name="loginbox">
                     <input type="hidden" name="islogin" value="yes">
                     <input type="hidden" name="loginok" value="login">
                     <tr class="c2">
                        <td align="right" class="user"><?=$lang[username];?>
                           &nbsp;</td>
                        <td nowrap class="user"><input name="username" type="text" size="10">
                        </td>
                     </tr>
                     <tr class="c2">
                        <td align="right" nowrap class="user"><?=$lang[pass];?>
                           &nbsp;</td>
                        <td nowrap class="user"><input name="password" type="password" size="10"></td>
                     </tr>
                     <tr >
                        <td colspan="2" align="center"><input name="loginok" id="loginok" type="submit" value="login"></td>
                     </tr>
                  </form>
               </table>
               <? } else if ($_SESSION['membersarea']!="Active"&&$layout['d_login_box']==1&&$setts['is_ssl']==1) { ?>
               <? header7("$lang[memarea_title]");?>
               <table border="0" cellpadding="2" cellspacing="2" width="100%" class="c4">
                  <tr class="c2">
                     <td align="center" class="contentfont"><br>
                        <? echo "[ <a href=\"".$path_ssl."login.php\"><strong>".$lang[login_secure]."</strong></a> ]"; ?><br>
                        <br></td>
                  </tr>
               </table>
               <?	} } ?>
            </div>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="1" height="5"></div>
            <noscript>
            JS not supported
            </noscript>
            <!-- flooble Expandable Content box end  -->
            <? headercat("$lang[Cap_categories] [<a title=\"show/hide\" class=\"hidelayer\" id=\"exp1102170166_link\" href=\"javascript: void(0);\" onclick=\"toggle(this, 'exp1102170166');\">&#8211;</a>]");?>
            <div id="exp1102170166">
               <table width="100%" border="0" cellspacing="1" cellpadding="2" class="bordercat">
                  <? 
						$getCats = mysql_query("SELECT id,name,items_counter, hover_title FROM probid_categories WHERE parent=0 AND hidden=0 AND userid=0 ORDER BY theorder,name");
						while ($catBrowse=mysql_fetch_array($getCats)) { 
							$nbSubCats = getSqlNumber("SELECT id FROM probid_categories WHERE parent='".$catBrowse['id']."'");
							
							if ($nbSubCats>0) $catLink=$path.processLink('categories', array('category' => $c_lang[$catBrowse['id']], 'parent' => $catBrowse['id'], 'show' => 'subcats'));
							else $catLink=$path.processLink('categories', array('category' => $c_lang[$catBrowse['id']], 'parent' => $catBrowse['id'])); ?>
                  <tr>
                     <td class="contentfont"><img src="themes/<?=$setts['default_theme'];?>/img/arrow.gif" hspace="3" align="absmiddle"><a href="<?=$catLink;?>" <? echo ($catBrowse['hover_title']!="") ? "title=\"".$catBrowse['hover_title']."\"":""; ?>><? echo $c_lang[$catBrowse['id']];?>
                        <? if (eregi('Y', $setts['enable_cat_counters'])) echo ($catBrowse['items_counter']!=0) ? "(<strong>".$catBrowse['items_counter']."</strong>)":"(".$catBrowse['items_counter'].")";?>
                        </a> </td>
                  </tr>
                  <? } ?>
               </table>
            </div>
            <noscript>
            JS not supported
            </noscript>
            <div><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="180" height="1"></div></td>
         <td width="10"><img src="themes/<?=$setts['default_theme'];?>/img/pixel.gif" width="10" height="1"></td>
         <? } ?>
         <td width="100%">
[+][-]08.10.2008 at 09:59PM PDT, ID: 22201907

View this solution now by starting your 7-day free trial. Setting up your free trial is quick, easy, and secure. We will return you to this solution, unlocked, when you're done.

 

About this solution

Zones: Hypertext Markup Language (HTML), PHP Scripting Language
Tags: HTML/PHP
Sign Up Now!
Solution Provided By: compfixer101
Participating Experts: 1
Solution Grade: B
 
 
[+][-]08.12.2008 at 04:13AM PDT, ID: 22211725

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
[+][-]08.12.2008 at 09:50AM PDT, ID: 22214899

At Experts Exchange, members can ask their questions to thousands of technology professionals, also known as Experts. Experts compete and collaborate to answer those questions by leaving comments like this one.

Start your 7-day free trial to view this Expert Comment or ask the Experts your question.

 
[+][-]08.13.2008 at 05:16PM PDT, ID: 22226850

Often, when Experts are collaborating with members who have asked questions, they will request additional information about the problem. Askers respond with an author comment like this one.

Start your 7-day free trial to view this Author Comment or ask the Experts your question.

 
 
Loading Advertisement...
20080716-EE-VQP-32 / EE_QW_2_20070628