HTML - Site Stats
ok I was just wondering if anybody had the knowledge an time to tell me the code for me to show on my website the most recent topics for my forum and also I was curious if I could also get a simple site counter that shows my hits for the day and for all time
and an example for the forum thing I want is on halogrid.com an sorry if this has to do with java/sqm wasn't sure. Similar TutorialsHi all, I thought you might find this report of interest... It is released by www.handsetdetection.com every month and basically gives an insight into mobile web usage and in particular, which are the preferred handsets for consumers to surf the mobile web, by Country. If you are looking to better understand the growing mobile web sector, and the implications that this has on web marketing, design and development, the data is quite useful. You can check it out here http://bit.ly/RawReports Cheers David Hey there... I want to create a web page where I can enter baseball stats of my son which will compile and give me certain information about his batting average etc. I know a decent amount of HTML but im not sure where to start with this one...If anyone has some pointers I would be very thankful. Thanks alot Hi I've been reading and searching through here for a while now, but this is my first actual post, so go easy on me, won't you I have a history web site of my own which has been undergoing some upgrade work recently, and I'd like to add a couple of features that I've seen on the BBC home page at www.bbc.co.uk. Specifically, I'd like to be able to show on my home page the last three searches that were conducted through my search engine, and perhaps something else, such as showing the most-read page on the site, as a kind of encouragement to new visitors to go and have a look. Unfortunately, although I can manage with html and css, I'm no programmer, so anything beyond those two needs to carry clear instructions before I can make it work. Does anyone have any leads on producing this kind of stuff? Any help would (probably) be useful! Hello I just started an online radio, with stats, but my problem, i want only the stats to reset, not the whole site, cause everytime the whole site refreshes, the radio refreshes to. Here is a pic: here is the php "radio_stats.php" source: HTML Code: <html> <head> <body bgcolor="e9e6f4"> <font color="navyblue"><?php // Shoutcast Server Stats // Parses shoutcasts xml to make an effective stats thing for any website // Coded by Daniel Brown. Edited by Nick Coates [SharpeHosting.com] [SharpeNews] KEEP THIS INTACT!!! // Please refer to the readme file for use. include('config_radio.php'); //you may edit this path to fit your server environment otherwise leave it alone $scfp = fsockopen("$scip", $scport, &$errno, &$errstr, 10); if(!$scfp) { $scsuccs=1; echo''.$scdef.' Habbo Hotel Radio Is Currently Offline'; } if($scsuccs!=1){ fputs($scfp,"GET /admin.cgi?pass=$scpass&mode=viewxml HTTP/1.0\r\nUser-Agent: SHOUTcast Song Status (Mozilla Compatible)\r\n\r\n"); while(!feof($scfp)) { $page .= fgets($scfp, 1000); } ###################################################################################################################### /////////////////////////part 1 \\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ //define xml elements $loop = array("STREAMSTATUS", "BITRATE", "SERVERTITLE", "CURRENTLISTENERS"); $y=0; while($loop[$y]!=''){ $pageed = ereg_replace(".*<$loop[$y]>", "", $page); $scphp = strtolower($loop[$y]); $$scphp = ereg_replace("</$loop[$y]>.*", "", $pageed); if($loop[$y]==SERVERGENRE || $loop[$y]==SERVERTITLE || $loop[$y]==SONGTITLE || $loop[$y]==SERVERTITLE) $$scphp = urldecode($$scphp); // uncomment the next line to see all variables //echo'$'.$scphp.' = '.$$scphp.'<br>'; $y++; } //end intro xml elements ###################################################################################################################### ###################################################################################################################### /////////////////////////part 2\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\\ //get song info and history $pageed = ereg_replace(".*<SONGHISTORY>", "", $page); $pageed = ereg_replace("<SONGHISTORY>.*", "", $pageed); $songatime = explode("<SONG>", $pageed); $r=1; while($songatime[$r]!=""){ $t=$r-1; $playedat[$t] = ereg_replace(".*<PLAYEDAT>", "", $songatime[$r]); $playedat[$t] = ereg_replace("</PLAYEDAT>.*", "", $playedat[$t]); $song[$t] = ereg_replace(".*<TITLE>", "", $songatime[$r]); $song[$t] = ereg_replace("</TITLE>.*", "", $song[$t]); $song[$t] = urldecode($song[$t]); $dj[$t] = ereg_replace(".*<SERVERTITLE>", "", $page); $dj[$t] = ereg_replace("</SERVERTITLE>.*", "", $pageed); $r++; } //end song info fclose($scfp); } //display stats if($streamstatus == "1"){ //you may edit the html below, make sure to keep variable intact echo' <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.Document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <META HTTP-EQUIV="REFRESH" CONTENT="120"> <link rel=stylesheet href="" type="text/css"> <title>'.$scdef.'</title> </head> <body text="" bgcolor="e9e6f4"> <p> <font color="black"><font face="verdana" size="1"><b>DJ:</b> '.$servertitle.'</font></p> <font color="black"><font face="verdana" size="1"><b>Lytte </b> '.$currentlisteners.' / 200</font></p> <font face="verdana" size="1" color="black"><b> Sang:</b> '.$song[0].'</font></p> <b> <font face="verdana" size="1"> Siste Sang:</font></b> <font color="black"><font face="verdana" size="1"> '.$song[1].' </font> </body> </html>'; } if($streamstatus == "0") { //you may edit the html below, make sure to keep variable intact echo' <html> <head> <meta name="GENERATOR" content="Microsoft FrontPage 5.0"> <meta name="ProgId" content="FrontPage.Editor.document"> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <link rel=stylesheet href="" type="text/css"> <title>HabbXtra Radio er offline!</title> </head> <body text="" bgcolor=""><STYLE type=text/css> UNKNOWN { FONT-SIZE: 10px; COLOR: #black; FONT-FAMILY: verdana } BODY { BACKGROUND-COLOR: e9e6f4 } A:link { COLOR: ; TEXT-DECORATION: none } A:visited { COLOR: #363636; TEXT-DECORATION: none } A:hover { COLOR: #363636; TEXT-DECORATION: underline } A:active { TEXT-DECORATION: none } BODY { FONT-SIZE: 10px; COLOR: e9e6f4; FONT-FAMILY: verdana } TD { FONT-SIZE: 10px; COLOR: e9e6f4; FONT-FAMILY: verdana } TH { FONT-SIZE: 10px; COLOR: e9e6f4; FONT-FAMILY: verdana } .style5 {font-size: 14px} </STYLE> <div><center><img src="offline.gif"></img></center></div> </body> </html>'; } ?></font> </body> My html source can you see at: http://habbxtra.net/hjem.php Thanks I am wondering if it is possible to create an INDEX.HTML to redirect to another website? I would like it to display the redirected site, but if possible keep to the original address.. e.g. A site named www.mysite.com, with an INDEX.HTML to redirect to www.othersite.com, which displays OTHERSITE with www.mysite.com in the address bar. Hope I explained ok, any responce would be much appricated! Thanks! Hi, Please help. I'm new to web design and have kinda cobbled my site together from various templates, etc. Problem is my site appears in Firefox, but comes up blank in IE and Safari. I'm pretty sure it's something stupid I've missed. The url is http://artheat.net Could anyone give me some advice? The basic html code is: <?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns="http://www.w3.org/1999/xhtml" xmlns:v="urn:schemas-microsoft-com:vml" > <head> <title>ArtHeat</title> <meta http-equiv="Content-Type" content="application/xhtml+xml; charset=utf-8" /> <meta name="description" content="ArtHeat. Contemporary South African Art" /> <meta name="keywords" content="ArtHeat. Contemporary South African Art" /> <meta name="robots" content="index, follow" /> <link rel="shortcut icon" href="favicon.gif" /> <script language="JavaScript"></script> <style media="screen" type="text/css"> /* <!-- */ /* General styles */ body { margin:0; padding:0; border:0; /* This removes the border around the viewport in old versions of IE */ width:100%; background:black; min-width:600px; /* Minimum width of layout - remove line if not required */ /* The min-width property does not work in old versions of Internet Explorer */ font-size:90%; color:#CCC; } a { color:#FF9933; } a:hover { color:#fff; text-decoration:none; } a img { color: black; border: 0 0; margin:10px 0 5px; } h1, h2, h3 { margin:.8em 0 .2em 0; padding:0; font-family: Helvetica, Arial, sans-serif; color: #ff9933 text-decoration:none; } h2 a { text-decoration:none; } p { margin:.4em 0 .8em 0; padding:0; font-family: Arial, Helvetica, sans-serif; color: #ccc; } img { margin:10px 0 5px; } /* Header styles */ #header { clear:both; text-align:center; width:100%; } #header { border-bottom:1px solid #000; } #header p, #header h1, #header h2 { padding:.4em 15px 0 15px; margin:0; } #header ul { clear:right; float:right; width:100%; list-style:none; margin:10px 0 0 0; padding:0; } #header ul li { display:inline; list-style:none; margin:0; padding:0; } #header ul li a { display:block; float:right; margin:0 0 0 1px; padding:3px 10px; text-align:center; background:black; color:#D46912; text-decoration:none; position:relative; right:15px; line-height:1.3em; } #header ul li a:hover { color:#fff; } #header ul li a.active, #header ul li a.active:hover { color:#fff; background:#000; font-weight:bold; } #header ul li a span { display:block; } /* 'widths' sub menu */ #layoutdims { clear:both; background:#eee; border-top:4px solid #000; margin:0; padding:6px 15px !important; text-align:right; } /* column container */ .colmask { position:relative; /* This fixes the IE7 overflow hidden bug */ clear:both; float:left; width:100%; /* width of whole page */ overflow:hidden; /* This chops off any overhanging divs */ } /* common column settings */ .colright, .colmid, .colleft { float:left; width:100%; /* width of page */ position:relative; } .col1, .col2, .col3 { float:left; position:relative; padding:0 0 1em 0; /* no left and right padding on columns, we just make them narrower instead only padding top and bottom is included here, make it whatever value you need */ overflow:hidden; } /* 3 Column settings */ .threecol { background:black; /* right column background colour */ } .threecol .colmid { right:25%; /* width of the right column */ background:black; /* center column background colour */ } .threecol .colleft { right:50%; /* width of the middle column */ background:black; /* left column background colour */ } .threecol .col1 { width:46%; /* width of center column content (column width minus padding on either side) */ left:102%; /* 100% plus left padding of center column */ } .threecol .col2 { width:21%; /* Width of left column content (column width minus padding on either side) */ left:31%; /* width of (right column) plus (center column left and right padding) plus (left column left padding) */ } .threecol .col3 { width:21%; /* Width of right column content (column width minus padding on either side) */ left:85%; /* Please make note of the brackets he (100% - left column width) plus (center column left and right padding) plus (left column left and right padding) plus (right column left padding) */ } /* Footer styles */ #footer { clear:both; float:left; width:100%; border-top:1px solid #000; } #footer p { padding:10px; margin:0; text-align:center; } /* begin styles for RSS Feed */ .rss-box { margin: 1em; width: 200px; background-color: #000000; } .rss-items { margin-top:0px; padding:0.5em; 0.5em; margin-left:0px; color:#FFFFFF; } p.rss-title {padding:0.5em;} .rss-title { text-decoration: none; font-family: small helvetica, arial, tahoma, "Bitstream Vera Sans", "Trebuchet MS", "Lucida Grande", lucida, helvetica, sans-serif; font-size: 12px; background-color:#000; color:#f93; font-weight:bold; margin: 0px; padding:0em; text-align: left; } .rss-item { font-family: small helvetica, arial, tahoma, "Bitstream Vera Sans", "Trebuchet MS", "Lucida Grande", lucida, helvetica, sans-serif; font-size: 12px; font-weight : normal; list-style:none; padding-bottom:1em; } .rss-item a { text-decoration : none; color: #f93; font-size: 12px; font-weight:light; font-family:small tahoma, "Bitstream Vera Sans", "Trebuchet MS", "Lucida Grande", lucida, helvetica, sans-serif; } .rss-item a:visited { color:#a51000; } .rss-date { font-size: 85%; font-weight : normal; color: #ccc; } </style> </head> <body> <div id="header"> <a href=/index.html><img src="Header.jpg" alt="art gossip truth" longdesc="http://artheat.net" /></a> </div> <div class="colmask threecol"> <div class="colmid"> <div class="colleft"> <div class="col1"> <!-- Column 1 start --> <!-- Begin #main --> <div id="main"><div id="main2"> <!-- Column 1 end --> </div> <div class="col2"> <!-- Column 2 start --> <h2><a href="/project">Project</a></h2> <p>Project is ablah blah blah</p> </div> <div class="col3"> <!-- Column 3 start --> <h2><a href="/wiki">DataBase</a></h2> <p>DataBase is etc etc etc</p> <h3>What's New on DataBase</h3> <script language="JavaScript" src="http://feed2js.org//feed2js.php?src=http%3A%2F%2Fwww.artheat.net%2Fwiki%2Findex.php%3Ftitle%3DSpecial%3ANewpages%26feed% 3Drss&num=25&date=y&tz=+2&targ=y" type="text/javascript"></script> <noscript> <a href="http://feed2js.org//feed2js.php?src=http%3A%2F%2Fwww.artheat.net%2Fwiki%2Findex.php%3Ftitle%3DSpecial%3ANewpages%26feed% 3Drss&chan=title&num=25&date=y&tz=+2&targ=y&html=y">View RSS feed</a> </noscript> <h3>What's Changed on DataBase</h3> <script language="JavaScript" src="http://feed2js.org//feed2js.php?src=http%3A%2F%2Fwww.artheat.net%2Fwiki%2Findex.php%3Ftitle%3DSpecial%3ARecentchanges%26 feed%3Drss&num=25&date=y&tz=+2&targ=y" type="text/javascript"></script> <noscript> <a href="http://feed2js.org//feed2js.php?src=http%3A%2F%2Fwww.artheat.net%2Fwiki%2Findex.php%3Ftitle%3DSpecial%3ARecentchanges%26 feed%3Drss&num=25&date=y&tz=+2&targ=y&html=y">View RSS feed</a> </noscript> </div> </div> </div> </div> <div id="footer"> <p>ArtHeat is open to any submissions or comments. Email us at <SCRIPT LANGUAGE="JavaScript"> var anchortext = "ArtHeat"; var mailpart1 = "artheat"; var mailpart2 = "gmail.com"; document.write("<a href=" + "mail" + "to:" + mailpart1 + "@" + mailpart2 + ">" + anchortext + "</a>") </script></p> </div> <script src="http://www.google-analytics.com/urchin.js" type="text/javascript"> </script> <script type="text/javascript"> _uacct = "UA-1848067-8"; urchinTracker(); </script> </body> </html> does anyone knows a code or how to put a log in to a site? like i want before going in the site, before anything comes up in the screen a box with a log in.. could someone explain me I have just created a site with 50+ pages and want to create a HTML site plan page of just text links for the entire site, is there a simple way to do this, i have had a quick google search and can only seem to find PC software, any ideas for a mac user or any dreamweaver exensions etc that can help!!!! Thanks in advance Hi I have started building a site a need some help with it my site work in progress is here http://wedding-directory-australia.discovery-web.net/ 1) i want to get the buttons at the top and bottom of the page to not have any space between them and the tabe so the run hard up against the table 2)I have the table border at 0 but thier is still white space between the tabe edge and the photos on the side and top - i was hoping to get the photo so the run to end of the table with no white space 3)also not sure if i am inthe right section for this question but i will try anyway - the buttons at the bottom of the page which designed in fireworks are working correctly but the ones at the top of the page the roll over does not work not sure why or how to fix this ..........thanks in advance for any help Hi there all, this looks like a great place to get answers. I'm trying to make a site which is "centered" but I need to add a vertical scrolling text box on top of one of the graphics. You can see what I mean at Http://www.Senor-Dicks.co.uk/tester.html I can get the box up but it has an absolute position and won't stay in the right place. I'm using Dreamweaver and any help would be appreciated. It's been driving me nuts for about 3 weeks now. Thanks in advance. Hi I am currently working on a site on webnode. I am trying to make a site where users can submit game links that they like so it will be like a compilation of user contributed link data system. I just want them to be able to post website links that show up on my site automatically. I also need this to be alphabetized. So basically every letter will have a submit option where they can submit the name and link of this game they are trying to share. I pretty much need an embedded code to use on this site that will do this. Can anyone help me with this? I will offer a little bit of money if necessary! I built my web site using NVU. It looks OK when I open it in the Firefox browser but not in IE. Could anyone tell me what is wrong? I know very little about HTML code. Take a look at it in both browsers and you will see what I mean. I would like to for it to work with both browsers. http://www.kentuckybarrels.com Thank you for any assistance. Hello, well, this is my firste idea of a site , it is in production with me adding some final touches http://www.wallofskate.bravehost.com/home/home.html one thing i would like to know is HOW CAN I MAKE THE SITE LOAD FASTER, and also be able to make it ONE WHOLE PAGE instead of it being divided, but the INTERACTIVITY HAS to stay right now the whole site is divided into 200 or so .gif images that were exported from adobe fireworks cs3. which were then hyperlinked together in microsoft expression web. Some tips would be much appreciated Your thought would be much appreciated This is my website that I am making...only the home page is ready as of right now....I have reached a point to which I am stuck! I really like the way that it looks but I am not sure how to improve it...the banner seems sort of plain to me....From the red at the top to the red at the bottom, I pretty much like the way that it looks....Would someone please take a look at it and give me some suggestions? Here is the link: http://crazyforclay.webng.com/index.htm BTW....This is my first website, I know its not great! Ok, I have a big serious problem. I codded my whole page on Firefox, not on IE or Chrome. So when I use it in Firefox, there is not a problem. When I do it in IE, everything is not in the right position. Then I tried in Chrome. The footer goes beside the sidebar. Is there a certain CSS or HTML code I have to add for it to work in IE or Chrome? I am not using Wordpress, I codded the whole site. If you need to know my site's address, its... http://www.takingtech.com/ So frustrated! hi there www.brewrecords.net everyone can see my site but me! all i can see is 'this domain has just been registered' i delete my cookies and cache in internet explorer, still nothing. can anyone shed some light on this? thanks. how do i have it so that my website will appear the same? like standardised? i was working on my site on 2 different computers today, one was a mac and one was a pc and well, the mac version was different from the pc. what i mean is that the images and the links were not in the place that i wanted them to be. hello everyone im new to html but im learning slowly but surely. anyways the reason why i came he is im having an issue with a table on my site Code: <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN"> <HTML><HEAD><TITLE>Julian Plumbing Inc.</TITLE> <META content="text/html; charset=unicode" http-equiv=Content-Type> <META name="Julian Plumbing Inc." content=""> <META name="Julian Plumbing Inc." content=""> <META name="Dylan Isley" content=""> <META name=GENERATOR content="MSHTML 8.00.6001.18904"></HEAD> <BODY> <TABLE border=1 cellspacing=1 cellpadding=1 width=240 align=center <thead> <TBODY> <TR> <TD></TD> <TD> <P>Blockages and leaky and noisy pipes are a hassle to fix and can indicate an even bigger system problem. Don't leave your home in the hands of normal plungers, liquid cleaning agents, or inexperienced plumbers who can't get the problem fixed the first time. Call the plumbing professionals at Julian's Plumbing, Inc.</P> <P> We are a full-service plumbing company serving the Charlotte area that handles all types of repair. Our dependable and professional staff is committed to providing fast and accurate service to all of our customers. From drains and clogs to sewer and water installs, we handle it all and at affordable prices our loyal customers can appreciate.</P></TD> <TD> <img src="Plumbing, Drains, Pipes, Julian's Plumbing, Inc_, Charlotte, NC_files/pipe.jpg" width="250" height="312"> </TD> </TR></TBODY></TABLE> </BODY></HTML> there is my code and whats happens is. and here is pretty much what i want it to look like. can someone tell me how to do it Hey guys, I have designed my site using firefox as my default browser. My site looks exactly as I want in all of the following; Firefox, Chrome and Safari but IE 8 shifts my navigation links. My site: http://for-rent-nerja.co.uk The code that positions the js: http://www.for-rent-nerja.co.uk/hvmenu/exmplmenu_var.js this part positions left ' var StartLeft=-8; ' - if I set that to ' var StartLeft=0; ' that aligns it in IE8 but knocks it out of line in the other 3. HELP I've tried all but everything and I can find no way to get it to align in all! Thanks guys! Jamie Hi well i am finally getting read to put my site together this weekend and i just have a few questions. my site has been designed by a designer who has mocked it up in photoshop, illustrator etc. so the question that i have is how do i translate that into HTML? here are a few screen shots of what my site will look like. also i'll be taking them down in a couple of days. so here they are... Thanks |