hi,
Code:
<div id="topbar">
<div class="topbar_left">
<a class="topbarlink" href="<?php echo get_settings('home'); ?>"><?php $toplinks1 = get_option('stylewp_toplinks1'); echo $toplinks1; ?></a> | <a class="topbarlink" href="<?php echo get_settings('home'); ?>/wp-admin/index.php"><?php $toplinks2 = get_option('stylewp_toplinks2'); echo $toplinks2; ?></a> | <a class="topbarlink" href="<?php echo get_settings('home'); ?>/wp-admin/profile.php"><?php $toplinks3 = get_option('stylewp_toplinks3'); echo $toplinks3; ?></a> | <a class="topbarlink" href="<?php echo get_settings('home'); ?>/wp-login.php?action=register"><?php $toplinks4 = get_option('stylewp_toplinks4'); echo $toplinks4; ?></a> | <a class="topbarlink" href="<?php echo get_settings('home'); ?>/wp-login.php?action=lostpassword"><?php $toplinks5 = get_option('stylewp_toplinks5'); echo $toplinks5; ?></a></div>
<div class="topbar_right">
<?php if ( $showdate = get_option('stylewp_showdate') ) { ?>
<script>
/*
Live Date Script-
© Dynamic Drive (www.dynamicdrive.com)
For full source code, installation instructions, 100's more DHTML scripts, and Terms Of Use,
visit http://www.dynamicdrive.com
*/
var dayarray=new Array("Sunday","Monday","Tuesday","Wednesday","Thursday","Friday","Saturday")
var montharray=new Array("January","February","March","April","May","June","July","August","September","October","November","December")
function getthedate(){
var mydate=new Date()
var year=mydate.getYear()
if (year < 1000)
year+=1900
var day=mydate.getDay()
var month=mydate.getMonth()
var daym=mydate.getDate()
if (daym<10)
daym="0"+daym
var hours=mydate.getHours()
var minutes=mydate.getMinutes()
var seconds=mydate.getSeconds()
var dn="AM"
if (hours>=12)
dn="PM"
if (hours>12){
hours=hours-12
}
if (hours==0)
hours=12
if (minutes<=9)
minutes="0"+minutes
if (seconds<=9)
seconds="0"+seconds
//change font size here
var cdate="<small><font color='ffffff' face='Verdana' size='1px'><b>"+dayarray[day]+", "+montharray[month]+" "+daym+", "+year+" "+hours+":"+minutes+":"+seconds+" "+dn
+"</b></font></small>"
if (document.all)
document.all.clock.innerHTML=cdate
else if (document.getElementById)
document.getElementById("clock").innerHTML=cdate
else
document.write(cdate)
}
if (!document.all&&!document.getElementById)
getthedate()
function goforit(){
if (document.all||document.getElementById)
setInterval("getthedate()",1000)
}
</script>
<span id="clock"></span>
<?php } else { ?>
<?php } ?>
</div>
<div class="footer">
<br><center><a id="mws4524788" href="http://webstats.motigo.com/">
<img width="18" align="center" height="18" border="0" alt="Free counter and web stats" src="http://m1.webstats.motigo.com/n.gif?id=AEUK9AP1Ryr_XyJ66Aayy4etRzHw" /></a>
<script type="text/javascript" src="http://m1.webstats.motigo.com/c.js?id=4524788"></script></center><br />
<br><?php include("copyright.php") ?><br /> </div>
Address here :
http://www.cricpak.5gigs.net/
u can see this code working at the bottom of the page.
I wanna adjust this toolbar. U can see that stats counter is not at right position and the copyright are not visible. I just wanna adjust them in the way that the stats counter comes to the center and to make the copyrights visible.
__________________
"Think 100 times before you take a decision, But once that decision is taken, stand by it as one man." - Quaid-e-Azam
Last edited by asmalik12; 06-09-2010 at 01:00 AM..
|