![]() |
|
| |||||||
|
| | Seçenekler |
|
#1
| |||||
| |||||
Fatal error: Call to undefined function satirtablo() in /var/www/vhosts/budaburada.com/httpdocs/menu/tarih.php on line 5 hatası alıyorum yardım lütfenFatal error: Call to undefined function satirtablo() in /var/www/vhosts/budaburada.com/httpdocs/menu/tarih.php on line 5 basedilen tarih.php alttaki yazılar anlamıyorum kusura bakmayın <? if ( !defined('INCLUDED') ) { die("Access Denied"); } $diff = satirtablo("SELECT value FROM timesettings WHERE active='selected'","value"); function closingdate ($thedate,$offset) { global $diff; $splitted = explode (" ",$thedate); $ourdate = explode ("-",$splitted[0]); list($ryear, $rmonth, $rday) = $ourdate; $ourtime = explode (":",$splitted[1]); list($rhour,$rmin,$rsec) = $ourtime; $date = strftime("%Y-%m-%d %H:%M:%S", mktime($rhour,$rmin,$rsec,$rmonth,$rday+$offset,$r year)); return $date; } function convertdate ($thedate,$format) { global $diff; $splitted = explode (" ",$thedate); $ourdate = explode ("-",$splitted[0]); list($ryear, $rmonth, $rday) = $ourdate; $ourtime = explode (":",$splitted[1]); list($rhour,$rmin,$rsec) = $ourtime; $date = date($format, mktime($rhour+$diff,$rmin,$rsec,$rmonth,$rday,$rye ar)); return $date; } function displaydatetime($thedate,$format) { global $diff; $splitted = explode (" ",$thedate); $ourdate = explode ("-",$splitted[0]); list($ryear, $rmonth, $rday) = $ourdate; $ourtime = explode (":",$splitted[1]); list($rhour,$rmin,$rsec) = $ourtime; $date = date($format, mktime($rhour+$diff,$rmin,$rsec,$rmonth,$rday,$rye ar)); return $date; } function daysleft($date,$format) { $today=date("Y-m-d H:i:s"); $split_datenow=explode (" ",$today); $date_now=explode ("-",$split_datenow[0]); list ($nyear,$nmonth,$nday)=$date_now; $time_now=explode (":",$split_datenow[1]); list ($nhour,$nmin,$nsec)=$time_now; $datenow=mktime($nhour,$nmin,$nsec,$nmonth,$nday,$ nyear); $arrDateTime = explode(" ", $date); $arrDate = explode("-", $arrDateTime[0]); $arrTime = explode(":", $arrDateTime[1]); $daysleft=mktime((int)$arrTime[0],(int)$arrTime[1],(int)$arrTime[2],(int)$arrDate[1],(int)$arrDate[2],(int)$arrDate[0]); $daycount=intval($daysleft-$datenow); return $daycount; } function timeleft($date,$format) { $currentTime = time(); $arrDateTime = explode(" ", $date); $arrDate = explode("-", $arrDateTime[0]); $arrTime = explode(":", $arrDateTime[1]); $endDate = mktime($arrTime[0],$arrTime[1],$arrTime[2],$arrDate[1],$arrDate[2],$arrDate[0]); $secondsLeft = $endDate - $currentTime; $day = 24*60*60; $hour = 60*60; $minute = 60; $daysLeft = floor($secondsLeft/$day); $hours = $secondsLeft - ($daysLeft * $day); $hoursLeft = floor($hours/$hour); $minutes = $hours - ($hoursLeft * $hour); $minutesLeft = floor($minutes/$minute); $timecount = (($daysLeft>0) ? $daysLeft." ".(($daysLeft==1) ? "gün" : "gün").", " : "").(($hoursLeft>0||$daysLeft>0) ? $hoursLeft." s : " : "").$minutesLeft." dk"; return $timecount; } function convert_date($date) { $result=date("M. j, Y",$date); return $result; } ?> |
| Sponsorlar | |||
|
![]() |
| Seçenekler | |
| |
Benzer Konular | ||||
| Konu | Konu Açanlar | Forum | Cevaplar | Güncel Mesajlar |
| Fatal error: Call to undefined function satirtablo() in /var/www/vhosts/budaburada.com/httpdocs/menu/tarih.php on line 5 bu hatayı alıyorum lütfen yardımcı olurmusunuz | scream | Yeni Başlayanlara WebmasterSitesi | 4 | 14-07-2008 08:36 |
| yardım lütfen :( | cilembjk1903 | Yeni Başlayanlara WebmasterSitesi | 6 | 14-06-2008 08:48 |
| yardım lütfen | Girly™ | Şikayetler & Yorum | 3 | 22-03-2008 07:21 |
| vbulletin kurulum hatası lütfen yardım | apocan46 | Vbulletin | 4 | 28-01-2008 06:29 |
| Error getting/setting Contact Information (1189) Hatası | sadecedomain | AWBS | 0 | 18-01-2008 02:36 |
| |