CjKing 0 Odesláno: 21. Červenec, 2009 Share Odesláno: 21. Červenec, 2009 PLS Neviete ako vlozit do toho imagestring($im, 1, 5, 5, A Simple Text String, $text_color); toto <?php $today = time(); $event = mktime(0,0,0,9,1,date("Y")); $apart = $event - $today; if ($apart >= -86400) { $myevent = $event; } else { $myevent = mktime(0,0,0,9,1,date("Y")+1); } $countdown = round(($myevent - $today)/86400); if ($countdown > 1) { echo "$countdown dni do zaciatku skolskeho roka"; } elseif (($myevent-$today) <= 0 && ($myevent-$today) >= -86400) { echo "Dnes je prvy den po prazdninach v skole"; } else { echo "$countdown den do zaciatku skolskeho roka"; } ?> DIKI Link to comment Share on other sites More sharing options...
0 癌癌癌 1 Odesláno: 21. Červenec, 2009 Share Odesláno: 21. Červenec, 2009 tamtu funcki jak si mi poslal na pm tak t použij a getni si z filu contents a pak to dej do "imagestring" Link to comment Share on other sites More sharing options...
0 CjKing 0 Odesláno: 21. Červenec, 2009 Author Share Odesláno: 21. Červenec, 2009 prosim das mi zdrojak.Lebo ja nwm velmi php Link to comment Share on other sites More sharing options...
0 cniry 0 Odesláno: 15. Srpen, 2009 Share Odesláno: 15. Srpen, 2009 ono je potreba znat zaklady generovani obrazku: http://cz2.php.net/manual/en/function.imagestring.php je tam krasne ukazanej kod pro generovani textu do obrazku. Nema cenu ho sem kopirovat Link to comment Share on other sites More sharing options...
Dotaz
CjKing 0
PLS Neviete ako vlozit do toho
toto
DIKI
Link to comment
Share on other sites
3 odpovědí na tuto otázku
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now