Forgotten password…
// login php session_start(); include_once('FX/server_data.php'); include_once('FX/FX.php'); include_once('FX/FMErrors.php'); require_once('Connections/serendipity.php'); // FMStudioFX v1.0 – do not remove comment, needed for Dreamweaver support $peek=new FX($serverIP,$webCompanionPort); $peek->SetDBData('kitcesPlanners.fp7','BlogPeek'); $peek->SetDBPassword('liberty11','webuser'); $peek->AddSortParam('recid','descend'); $peek->AddDBParam('recid','1'); $peekResult=$peek->FMFind(); //$outResult=$out->FMFindall(); foreach($peekResult['data'] as $key=>$peekData){ $numberofblogchars=$peekData['BlogChars'][0]; } $out=new FX($serverIP,$webCompanionPort); $out->SetDBData('kitcesPlanners.fp7','OutandAbout'); $out->SetDBPassword('liberty11','webuser'); $out->AddSortParam('recid','descend'); $out->AddDBParam('peek','yes'); $outResult=$out->FMFind(); //$outResult=$out->FMFindall(); $tele=new FX($serverIP,$webCompanionPort); $tele->SetDBData('kitcesPlanners.fp7','Teleseminars'); $tele->SetDBPassword('liberty11','webuser'); $tele->AddSortParam('recid','descend'); //$tele->AddDBParam('recid','2'); //$teleResult=$tele->FMFind(); $teleResult=$tele->FMFindall(); //ask keith about this //echo $teleData['BlogChars'][0]; if (!function_exists("GetSQLValueString")) { function GetSQLValueString($theValue, $theType, $theDefinedValue = "", $theNotDefinedValue = "") { $theValue = get_magic_quotes_gpc() ? stripslashes($theValue) : $theValue; $theValue = function_exists("mysql_real_escape_string") ? mysql_real_escape_string($theValue) : mysql_escape_string($theValue); switch ($theType) { case "text": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "long": case "int": $theValue = ($theValue != "") ? intval($theValue) : "NULL"; break; case "double": $theValue = ($theValue != "") ? "'" . doubleval($theValue) . "'" : "NULL"; break; case "date": $theValue = ($theValue != "") ? "'" . $theValue . "'" : "NULL"; break; case "defined": $theValue = ($theValue != "") ? $theDefinedValue : $theNotDefinedValue; break; } return $theValue; } } mysql_select_db($database_serendipity, $serendipity); $query_latest_blog_peek = "SELECT body FROM serendipity_entries ORDER BY id DESC"; $latest_blog_peek = mysql_query($query_latest_blog_peek, $serendipity) or die(mysql_error()); $row_latest_blog_peek = mysql_fetch_assoc($latest_blog_peek); $totalRows_latest_blog_peek = mysql_num_rows($latest_blog_peek); mysql_select_db($database_serendipity, $serendipity); $query_title = "SELECT title FROM serendipity_entries ORDER BY id DESC"; $title = mysql_query($query_title, $serendipity) or die(mysql_error()); $row_title = mysql_fetch_assoc($title); $totalRows_title = mysql_num_rows($title); ?>