allora questo è il codice dalla riga 1 alla 63
Codice PHP:
<?php
/*
Plugin Name: Live Countdown Timer
Plugin URI: http://www.appchain.com/live-countdown-timer/
Description: Live Countdown Timer to an important event you want to show
Author: Turcu Ciprian
License: GPL
Version: 2.1.0.6
Author URI: http://www.appchain.com
*/
//this calculates the date
// This prints the widget
function live_countdown_timer_WidgetShow($args) {
extract( $args );
$xDBArr = unserialize(get_option('live_countdown_timer_Values'));
$live_countdown_timer_Title = $xDBArr[0];
echo $before_widget;
$postDate = $xDBArr[1];//0 is for title
$postTextColor = $xDBArr[2];
$postBackground = $xDBArr[3];
$postFont = $xDBArr[4];
$postHours = $xDBArr[5];
$postMinutes = $xDBArr[6];
$postSeconds = $xDBArr[7];
$postTimerType = $xDBArr[8];
$postLCTTypeSize = $xDBArr[9];
$postDD = $xDBArr[10];
$postHH = $xDBArr[11];
$postMM = $xDBArr[12];
$postSS = $xDBArr[13];
$postTimeZone = $xDBArr[14];
$postTransparentBackground = $xDBArr[15];
if($postTransparentBackground!="on") {
$postTransparentBackground = "off";
}
//calculate time with timezone
try {
date_default_timezone_set($postTimeZone);
} catch (Exception $e) {
}
$xDBDate[0]=$postHours;
$xDBDate[1]=$postMinutes;
$xDBDate[2]=$postSeconds;
$xArrPostDate = explode("/",$postDate);
$xDBDate[3]=$xArrPostDate[0];
$xDBDate[4]=$xArrPostDate[1];
$xDBDate[5]=$xArrPostDate[2];
$xNrOfDHMS = live_countdown_timer_CalcDate($xDBDate);
?>
<?php echo $before_title.$live_countdown_timer_Title.$after_title;?>
non me ne intendo moldo di php ma secondo me non credo ci siano errori cmq stavo pensando e se elimino la cartella che succede?poi volevo sapere come posso recuperare tutti gli articoli da me scritti cosi da poter ripristinare il database (non so se funziona) cmq ho provato a vedere sul sito ufficiale ma è tutto in inglese.spero di risolvere al piu presto sto problema.
EDIT:
Grazie righe di codice per la tua risposta
il problema l'ho risolto da solo