Help Creating A 'Box' like interface.
Posted: Sat Jan 01, 2011 8:11 pm
Hi This is my first post! I only have knowledge of objective-c, and I really need some help with this php for an iPhone Application I am making. Any code is really useful!! I am trying to create an interface with one skyscraper advert on the left, one on the right, and a leaderboard advert at the top, and a leaderboard advert at the bottom. However this is not working for some reason, and this is what it is turning out to look like: http://nucleusiphone.com/adverts/index. ... D368016758.
If you could help me fix this up to look like a box i.e a skyscraper advert on both the left and right, and a leaderboard banner on both the top and bottom of the page that would be great.
Thanks in advanced
Here is my code:
If you could help me fix this up to look like a box i.e a skyscraper advert on both the left and right, and a leaderboard banner on both the top and bottom of the page that would be great.
Thanks in advanced
Here is my code:
Code: Select all
<?php
$url = $_GET['url'];
header("refresh:5;url=$url");
//echo $url;
?>
<p align=left>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-3255541264170057";
/* sky */
google_ad_slot = "5476903356";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</p>
<html>
<head>
<title>Redirecting to <? echo $url?></title>
</head>
<body>
<script language="javascript">
var time_left = 5;
var cinterval;
function time_dec(){
time_left--;
document.getElementById('countdown').innerHTML = time_left;
if(time_left == 0){
clearInterval(cinterval);
}
}
cinterval = setInterval('time_dec()', 1000);
</script>
<center><script type="text/javascript"><!--
google_ad_client = "ca-pub-3255541264170057";
/* Shortener Ads */
google_ad_slot = "2410296885";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
<center>
You will be redirected in <span id="countdown">5</span>.</center><br>
<center><br>Click <? echo "<a href=" . $url . "> here </a>to go now." ?></center><br>
<center><script type="text/javascript"><!--
google_ad_client = "ca-pub-3255541264170057";
/* Shortener Ads */
google_ad_slot = "2410296885";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></center>
<p align=right>
<script type="text/javascript"><!--
google_ad_client = "ca-pub-3255541264170057";
/* sky */
google_ad_slot = "5476903356";
google_ad_width = 160;
google_ad_height = 600;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></p>
</body>