WiiLi Wiki frontpage Include your post in the News Get links Hoteles Quito
WiiLi.org Forum Index WiiLi.org
a new revolution
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Online Wii Menu Interface
Goto page 1, 2  Next
 
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiLi Artwork
View previous topic :: View next topic  
Author Message
Bubblewrap



Joined: 31 Dec 2006
Posts: 12
Location: Netherlands

Digg It
PostPosted: Sun Dec 31, 2006 6:38 pm    Post subject: Online Wii Menu Interface

I'm trying to recreate the wii menu interface in photoshop so i can eventually create my personal homepage for my wii out of this, thats not much work but im looking for a good peace of coding so i can get the date of today in my menu just like in the wii menu:

Dayname/Daynumber/Monthnumber

for example:

Su 31/12

can someone assist me on this one?
if you have some photoshopping skills you can easily save and edit my version online here and create your own online interface as you like it.
i'll upload a starterskit in the near future for people that like it...

Have a look at my website in my profile (the 3xw button under this post), ill edit post with link when i get 3 posts and 2 days of membership!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
swimgod



Joined: 30 Nov 2006
Posts: 34

Digg It
PostPosted: Mon Jan 01, 2007 12:55 am    Post subject:

hope your server/website has php,
(most ones do, if it is a linux server then im sure it does)

Code:

<?
echo date("D j/n");
?>




edit:the wii doesn't have 2 letter dates?... fixed this post code to put what the wii does have Razz


Last edited by swimgod on Mon Jan 01, 2007 1:05 am; edited 2 times in total
Back to top
View user's profile Send private message
Cobalt`



Joined: 20 Dec 2006
Posts: 101

Digg It
PostPosted: Mon Jan 01, 2007 1:02 am    Post subject:

in php:
Code:

<?php

$day = substr(date('D'),0,2);
$rest = date('d\/m');
print $day . " " . $rest;

?>


as swimgod says.. 3 strings ;O
Code:

<?php

print date('D d\/m');

?>


@swimgod: :p two different approaches, same result haha awesome.. btw you should start really adding php in <?php :p


in javascript:

Code:

<script type="text/javascript">
<!--
var currentTime = new Date()
var month = currentTime.getMonth() + 1
var day = currentTime.getDate()
var date = currentTime.getDay()

if(date == 0)
{
date = 'Sun';
} else if (date == 1)
{
date = 'Mon';
} else if (date == 2)
{
date = 'Tue';
} else if (date == 3)
{
date = 'Wed';
} else if (date == 4)
{
date = 'Thu';
} else if (date == 5)
{
date = 'Fri';
} else
{
date = 'Sat';
}

document.write(date + " " + day + "/" + month)
//-->
</script>


I suck at JS XP
Back to top
View user's profile Send private message
swimgod



Joined: 30 Nov 2006
Posts: 34

Digg It
PostPosted: Mon Jan 01, 2007 1:26 am    Post subject:

Cobalt` wrote:
in php:
Code:

<?php

$day = substr(date('D'),0,2);
$rest = date('d\/m');
print $day . " " . $rest;

?>


as swimgod says.. 3 strings ;O
Code:

<?php

print date('D d\/m');

?>


@swimgod: :p two different approaches, same result haha awesome.. btw you should start really adding php in <?php :p


in javascript:

Code:

<script type="text/javascript">
<!--
var currentTime = new Date()
var month = currentTime.getMonth() + 1
var day = currentTime.getDate()
var date = currentTime.getDay()

if(date == 0)
{
date = 'Sun';
} else if (date == 1)
{
date = 'Mon';
} else if (date == 2)
{
date = 'Tue';
} else if (date == 3)
{
date = 'Wed';
} else if (date == 4)
{
date = 'Thu';
} else if (date == 5)
{
date = 'Fri';
} else
{
date = 'Sat';
}

document.write(date + " " + day + "/" + month)
//-->
</script>


I suck at JS XP


i normaly don't because the default php.ini setting is to allow <? and ?> tags. but its true that it is more widely used to put the php in there Razz. and i forgot about the substr function :E.
php is great isn't it?
Back to top
View user's profile Send private message
Cobalt`



Joined: 20 Dec 2006
Posts: 101

Digg It
PostPosted: Mon Jan 01, 2007 2:10 am    Post subject:

yep Wink - my favorite language of all Very Happy
Back to top
View user's profile Send private message
Bubblewrap



Joined: 31 Dec 2006
Posts: 12
Location: Netherlands

Digg It
PostPosted: Mon Jan 01, 2007 2:02 pm    Post subject:

Thanks for the help guys! Yes my server runs php so ill just use that, im no big star in php yet so now should i just use css to change font, color and size? And what do you think of my recreation? Hehe, thanks in advance!
Back to top
View user's profile Send private message Visit poster's website MSN Messenger
Cobalt`



Joined: 20 Dec 2006
Posts: 101

Digg It
PostPosted: Mon Jan 01, 2007 2:33 pm    Post subject:

Bubblewrap wrote:
Thanks for the help guys! Yes my server runs php so ill just use that, im no big star in php yet so now should i just use css to change font, color and size? And what do you think of my recreation? Hehe, thanks in advance!


I provided you with a javascript version. I think me and swimgod's php codes are different and yet they work well, use whichever one you want Wink

And the recreation is quite stunning Smile just a comment on how much darker the blue is.. overall its smooth Smile the channels are a bit too organised (the noise) but overall its cool Smile
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    WiiLi.org Forum Index -> WiiLi Artwork All times are GMT
Goto page 1, 2  Next
Page 1 of 2

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group