Menu
Forums
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Trending
What's new
New posts
New profile posts
Latest activity
Members
Current visitors
New profile posts
Search profile posts
Upgrades
Log in
Register
What's new
Search
Search
Search titles only
By:
All threads
Latest threads
New posts
Trending threads
New posts
Search forums
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
Server Development
Habbo Retros
Habbo Q&A
UNION CMS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="GangnamStyle" data-source="post: 159088" data-attributes="member: 11281"><p>Using C++ For Application Forms, and Some other features, Just made a Maintaince Page, took 5minutes;</p><p> </p><p>[HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"></p><p><html xmlns="http://www.w3.org/1999/xhtml"></p><p><head></p><p><meta http-equiv="Content-Type" content="text/html; charset=utf-8" /></p><p><title>Sorry Guys, Its Maintenance Time!</title></p><p><link href="blue.css" type="text/css" rel="stylesheet" /></p><p>.numbers {</p><p> border-style: ridge; /* options are none, dotted, dashed, solid, double, groove, ridge, inset, outset */</p><p> border-width: 2px;</p><p> border-color: #666666; /* change the border color using the hexadecimal color codes for HTML */</p><p> background: #222222; /* change the background color using the hexadecimal color codes for HTML */</p><p> padding: 2px 0px;</p><p> width: 55px;</p><p> text-align: center;</p><p> font-family: Arial;</p><p> font-size: 28px;</p><p> font-weight: bold; /* options are normal, bold, bolder, lighter */</p><p> font-style: normal; /* options are normal or italic */</p><p> color: #FFFFFF; /* change color using the hexadecimal color codes for HTML */</p><p>}</p><p>.title { /* the styles below will affect the title under the numbers, i.e., “Days”, “Hours”, etc. */</p><p> border: none; </p><p> padding: 0px;</p><p> width: 55px;</p><p> text-align: center;</p><p> font-family: Arial;</p><p> font-size: 10px;</p><p> font-weight: normal; /* options are normal, bold, bolder, lighter */</p><p> color: #DDDDDD; /* change color using the hexadecimal color codes for HTML */</p><p> background: transparent; /* change the background color using the hexadecimal color codes for HTML */</p><p>}</p><p>#table {</p><p> width: 400px;</p><p> border: groove; /* options are none, dotted, dashed, solid, double, groove, ridge, inset, outset */</p><p> margin: 0px auto;</p><p> position: relative; /* leave as "relative" to keep timer centered on your page, or change to "absolute" then change the values of the "top" and "left" properties to position the timer */</p><p> top: 0px; /* change to position the timer */</p><p> left: 0px; /* change to position the timer; delete this property and it's value to keep timer centered on page */</p><p>}</p><p></style></p><p> </p><p><script type="text/javascript"></p><p> </p><p> </p><p>var current="We Should Be Up !!!!"; //-->enter what you want the script to display when the target date and time are reached, limit to 20 characters</p><p>var year=2012; //-->Enter the count down target date YEAR</p><p>var month=12; //-->Enter the count down target date MONTH</p><p>var day=13; //-->Enter the count down target date DAY</p><p>var hour=00; //-->Enter the count down target date HOUR (24 hour clock)</p><p>var minute=00; //-->Enter the count down target date MINUTE</p><p>var tz=-0; //-->Offset for your timezone in hours from UTC (see http://wwp.greenwichmeantime.com/index.htm to find the timezone offset for your location)</p><p> </p><p>// DO NOT CHANGE THE CODE BELOW!</p><p>var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec");</p><p> </p><p>function countdown(yr,m,d,hr,min){</p><p> theyear=yr;themonth=m;theday=d;thehour=hr;theminute=min;</p><p> var today=new Date();</p><p> var todayy=today.getYear();</p><p> if (todayy < 1000) {todayy+=1900;}</p><p> var todaym=today.getMonth();</p><p> var todayd=today.getDate();</p><p> var todayh=today.getHours();</p><p> var todaymin=today.getMinutes();</p><p> var todaysec=today.getSeconds();</p><p> var todaystring1=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec;</p><p> var todaystring=Date.parse(todaystring1)+(tz*1000*60*60);</p><p> var futurestring1=(montharray[m-1]+" "+d+", "+yr+" "+hr+":"+min);</p><p> var futurestring=Date.parse(futurestring1)-(today.getTimezoneOffset()*(1000*60));</p><p> var dd=futurestring-todaystring;</p><p> var dday=Math.floor(dd/(60*60*1000*24)*1);</p><p> var dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1);</p><p> var dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1);</p><p> var dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1);</p><p> if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=0){</p><p> document.getElementById('count2').innerHTML=current;</p><p> document.getElementById('count2').style.display="block";</p><p> document.getElementById('count2').style.width="390px";</p><p> document.getElementById('dday').style.display="none";</p><p> document.getElementById('dhour').style.display="none";</p><p> document.getElementById('dmin').style.display="none";</p><p> document.getElementById('dsec').style.display="none";</p><p> document.getElementById('days').style.display="none";</p><p> document.getElementById('hours').style.display="none";</p><p> document.getElementById('minutes').style.display="none";</p><p> document.getElementById('seconds').style.display="none";</p><p> document.getElementById('spacer1').style.display="none";</p><p> document.getElementById('spacer2').style.display="none";</p><p> return;</p><p> }</p><p> else {</p><p> document.getElementById('count2').style.display="none";</p><p> document.getElementById('dday').innerHTML=dday;</p><p> document.getElementById('dhour').innerHTML=dhour;</p><p> document.getElementById('dmin').innerHTML=dmin;</p><p> document.getElementById('dsec').innerHTML=dsec;</p><p> setTimeout("countdown(theyear,themonth,theday,thehour,theminute)",1000);</p><p> }</p><p>}</p><p></script></p><p> </p><p></head></p><p> </p><p><body bgcolor="#CCCCCC"></p><p><table id="table" border="0"></p><p> <tr></p><p> <td align="center" colspan="6"><div class="numbers" id="count2" style="padding: 10px; "></div></td></p><p> </tr></p><p> <tr id="spacer1"></p><p> <td align="center" ><div class="title" ></div></td></p><p> <td align="center" ><div class="numbers" id="dday"></div></td></p><p> <td align="center" ><div class="numbers" id="dhour"></div></td></p><p> <td align="center" ><div class="numbers" id="dmin"></div></td></p><p> <td align="center" ><div class="numbers" id="dsec"></div></td></p><p> <td align="center" ><div class="title" ></div></td></p><p> </tr></p><p> <tr id="spacer2"></p><p> <td align="center" ><div class="title" ></div></td></p><p> <td align="center" ><div class="title" id="days">Days</div></td></p><p> <td align="center" ><div class="title" id="hours">Hours</div></td></p><p> <td align="center" ><div class="title" id="minutes">Minutes</div></td></p><p> <td align="center" ><div class="title" id="seconds">Seconds</div></td></p><p> <td align="center" ><div class="title" ></div></td></p><p> </tr></p><p></table></p><p> </p><p></body></p><p> </p><p><p></p><p><center> <font size="+5" color="#333333"> We're Currently Down for maintenance! </font></center></p><p><center> If all goes well we will be up in the time above! </center></p><p><br /></p><p><br /></p><p><h3><center><strong>What's coming new?!!</strong></center></h3></p><p><br /></p><p><p>Union Will be bringing in a new topic, what will include:</p><p><br /></p><p><li></p><p><a href="/socal">Social Networking</a></p><p><a href="/forum">Fourm</a></p><p><a href="/billing">Billing</a></p><p><a href="/shop">Shop</a></p><p><a href="/code">Coding Development</a></p><p><a href="/habbo">Habbo Retro</a></p><p></li></p><p><p>And a <b>LOT</b>more coming to Union,<br /> Please wait for the meanwhile</p><p></p></p><p><center></p><p><body onload="countdown(year,month,day,hour,minute)"/></p><p></center></p><p><center> <img src="http://adamholidays.com/under-maintenance.gif"/></p><p></html>[/HTML]</p></blockquote><p></p>
[QUOTE="GangnamStyle, post: 159088, member: 11281"] Using C++ For Application Forms, and Some other features, Just made a Maintaince Page, took 5minutes; [HTML]<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8" /> <title>Sorry Guys, Its Maintenance Time!</title> <link href="blue.css" type="text/css" rel="stylesheet" /> .numbers { border-style: ridge; /* options are none, dotted, dashed, solid, double, groove, ridge, inset, outset */ border-width: 2px; border-color: #666666; /* change the border color using the hexadecimal color codes for HTML */ background: #222222; /* change the background color using the hexadecimal color codes for HTML */ padding: 2px 0px; width: 55px; text-align: center; font-family: Arial; font-size: 28px; font-weight: bold; /* options are normal, bold, bolder, lighter */ font-style: normal; /* options are normal or italic */ color: #FFFFFF; /* change color using the hexadecimal color codes for HTML */ } .title { /* the styles below will affect the title under the numbers, i.e., “Days”, “Hours”, etc. */ border: none; padding: 0px; width: 55px; text-align: center; font-family: Arial; font-size: 10px; font-weight: normal; /* options are normal, bold, bolder, lighter */ color: #DDDDDD; /* change color using the hexadecimal color codes for HTML */ background: transparent; /* change the background color using the hexadecimal color codes for HTML */ } #table { width: 400px; border: groove; /* options are none, dotted, dashed, solid, double, groove, ridge, inset, outset */ margin: 0px auto; position: relative; /* leave as "relative" to keep timer centered on your page, or change to "absolute" then change the values of the "top" and "left" properties to position the timer */ top: 0px; /* change to position the timer */ left: 0px; /* change to position the timer; delete this property and it's value to keep timer centered on page */ } </style> <script type="text/javascript"> var current="We Should Be Up !!!!"; //-->enter what you want the script to display when the target date and time are reached, limit to 20 characters var year=2012; //-->Enter the count down target date YEAR var month=12; //-->Enter the count down target date MONTH var day=13; //-->Enter the count down target date DAY var hour=00; //-->Enter the count down target date HOUR (24 hour clock) var minute=00; //-->Enter the count down target date MINUTE var tz=-0; //-->Offset for your timezone in hours from UTC (see http://wwp.greenwichmeantime.com/index.htm to find the timezone offset for your location) // DO NOT CHANGE THE CODE BELOW! var montharray=new Array("Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec"); function countdown(yr,m,d,hr,min){ theyear=yr;themonth=m;theday=d;thehour=hr;theminute=min; var today=new Date(); var todayy=today.getYear(); if (todayy < 1000) {todayy+=1900;} var todaym=today.getMonth(); var todayd=today.getDate(); var todayh=today.getHours(); var todaymin=today.getMinutes(); var todaysec=today.getSeconds(); var todaystring1=montharray[todaym]+" "+todayd+", "+todayy+" "+todayh+":"+todaymin+":"+todaysec; var todaystring=Date.parse(todaystring1)+(tz*1000*60*60); var futurestring1=(montharray[m-1]+" "+d+", "+yr+" "+hr+":"+min); var futurestring=Date.parse(futurestring1)-(today.getTimezoneOffset()*(1000*60)); var dd=futurestring-todaystring; var dday=Math.floor(dd/(60*60*1000*24)*1); var dhour=Math.floor((dd%(60*60*1000*24))/(60*60*1000)*1); var dmin=Math.floor(((dd%(60*60*1000*24))%(60*60*1000))/(60*1000)*1); var dsec=Math.floor((((dd%(60*60*1000*24))%(60*60*1000))%(60*1000))/1000*1); if(dday<=0&&dhour<=0&&dmin<=0&&dsec<=0){ document.getElementById('count2').innerHTML=current; document.getElementById('count2').style.display="block"; document.getElementById('count2').style.width="390px"; document.getElementById('dday').style.display="none"; document.getElementById('dhour').style.display="none"; document.getElementById('dmin').style.display="none"; document.getElementById('dsec').style.display="none"; document.getElementById('days').style.display="none"; document.getElementById('hours').style.display="none"; document.getElementById('minutes').style.display="none"; document.getElementById('seconds').style.display="none"; document.getElementById('spacer1').style.display="none"; document.getElementById('spacer2').style.display="none"; return; } else { document.getElementById('count2').style.display="none"; document.getElementById('dday').innerHTML=dday; document.getElementById('dhour').innerHTML=dhour; document.getElementById('dmin').innerHTML=dmin; document.getElementById('dsec').innerHTML=dsec; setTimeout("countdown(theyear,themonth,theday,thehour,theminute)",1000); } } </script> </head> <body bgcolor="#CCCCCC"> <table id="table" border="0"> <tr> <td align="center" colspan="6"><div class="numbers" id="count2" style="padding: 10px; "></div></td> </tr> <tr id="spacer1"> <td align="center" ><div class="title" ></div></td> <td align="center" ><div class="numbers" id="dday"></div></td> <td align="center" ><div class="numbers" id="dhour"></div></td> <td align="center" ><div class="numbers" id="dmin"></div></td> <td align="center" ><div class="numbers" id="dsec"></div></td> <td align="center" ><div class="title" ></div></td> </tr> <tr id="spacer2"> <td align="center" ><div class="title" ></div></td> <td align="center" ><div class="title" id="days">Days</div></td> <td align="center" ><div class="title" id="hours">Hours</div></td> <td align="center" ><div class="title" id="minutes">Minutes</div></td> <td align="center" ><div class="title" id="seconds">Seconds</div></td> <td align="center" ><div class="title" ></div></td> </tr> </table> </body> <p> <center> <font size="+5" color="#333333"> We're Currently Down for maintenance! </font></center> <center> If all goes well we will be up in the time above! </center> <br /> <br /> <h3><center><strong>What's coming new?!!</strong></center></h3> <br /> <p>Union Will be bringing in a new topic, what will include: <br /> <li> <a href="/socal">Social Networking</a> <a href="/forum">Fourm</a> <a href="/billing">Billing</a> <a href="/shop">Shop</a> <a href="/code">Coding Development</a> <a href="/habbo">Habbo Retro</a> </li> <p>And a <b>LOT</b>more coming to Union,<br /> Please wait for the meanwhile </p> <center> <body onload="countdown(year,month,day,hour,minute)"/> </center> <center> <img src="http://adamholidays.com/under-maintenance.gif"/> </html>[/HTML] [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
Server Development
Habbo Retros
Habbo Q&A
UNION CMS
Top