`Ye shall not pass.` cried the Raving Spider man `For ye are too innocent.` At this they returned from whence the pastures they came. With shame their only dignity they hollowed out…
Posted on March 16th, 2007 at 10:12 pm by Andrew
Hmm… I’ve been looking around on things like sitelance and digitalpoint and I think I’m gonna do a bit of spending on some established sites and try to set-up a few money-makers. After my first $100 I was so proud that I took all advertising down and since then I’ve kinda.. not got back into it.. It pissed people off, I wasn’t good at placing ads so I spammed ‘em everywhere and that’s pretty much what meant I could get $100 in 2 months.. Since then I’ve got $17.50 from one ad on the side of an insignificant page, otherwise it’s been pretty damned useless.
I’ll have a look about, I really want something I’d use as well, things like www.craftytv.com are great fun + get a lot of money through ads, it’s just hard to find such buys within my price range, CraftyTV is actually an option for me, it’s only $200ish so I could quite easily manage that… I’ll have a look about and keep ye posted.
Countdown script 2
Posted on January 15th, 2007 at 9:04 pm by Andrew
Thought I'd do a second edition of the countdown script. The PHP is exactly the same (apart from how it auto-updates to next year) but the main difference is it's added to a javascript countdown which means you can have an automated christmas countdown giving you the number of seconds, minutes or days until christmas
PHP:
-
<?
-
-
if($tt1 <= 0) {
-
-
} else {
-
-
}
-
?>
-
<center>
-
<font face=
"tahoma" /><font face=
"tahoma"><strong><?
echo ceil((mktime(0,
0,
0,
"12",
"25",
$newyear) -
time()) /
86400); ?></strong> days or</font>
-
-
</center><script language="JavaScript">
-
var sec =
<? echo ceil((mktime(0,
0,
0,
"12",
"25",
$newyear) -
time()));
?>;
// set the seconds
-
-
-
function countDown() {
-
sec--;
-
-
-
} else {
-
-
}
-
-
day = Math.
round(hour/
24);
-
if (sec<=9) { sec = "0" + sec; }
-
time =
(min<=
9 ?
"0" +
min :
min) +
" minutes or " + sec +
" seconds until Xmas, <? echo $newyear; ?>";
-
if (document.getElementById
) { theTime.innerHTML =
time;
}
-
SD=window.setTimeout("countDown();", 1000);
-
if (min ==
'00' &
#038;& sec == '00') { sec = "00"; window.clearTimeout(SD); }
-
}
-
-
function addLoadEvent(func) {
-
var oldonload = window.onload;
-
if (typeof window.onload != 'function') {
-
window.onload = func;
-
} else {
-
window.onload = function() {
-
if (oldonload) {
-
oldonload();
-
}
-
func();
-
}
-
}
-
}
-
-
addLoadEvent(function() {
-
countDown();
-
});
-
-
</script>
-
-
<script type="text/javascript" />
-
<table width="100%">
-
<tr>
-
<td align="center" style="width: 100%"><span class="timeClass" id="theTime" /></td>
-
</tr>
-
</table>
Demo
All live but the day counter - don't forget, it's a bit crap.
I’m getting a new camera sir!
Posted on January 5th, 2007 at 10:15 pm by Andrew
It has been an expensive couple of weeks indeed, ton of domains because of the sales, a whole custom site design, a server upgrade (miss out on some days of hosting!) and now a sexy new camera :D.
It's the Fuji FinePix S9600 Zoom Digital Camera (as chosen and found by chuckun):