From: maxious Date: Wed, 09 Dec 2009 21:44:16 +0000 Subject: Initial Commit X-Git-Url: http://maxious.lambdacomplex.org/git/?p=contractdashboard.git&a=commitdiff&h=b09e247681248987d52dd4b53a537d96fbef5435 --- Initial Commit --- --- /dev/null +++ b/about.php @@ -1,1 +1,6 @@ +sourced from austender +Government Agency Information (2009-07-10): National Archives of Australia, http://www.naa.gov.au under Creative Commons - Attribution 2.5 Australia (CC-BY) +jpgraph for php +ABR +Redhat Liberation fonts --- /dev/null +++ b/admin/abr-example.php @@ -1,1 +1,23 @@ +"; +$result = $xml->response->searchResultsList->searchResultsRecord[0]; +var_dump($result); +echo ""; +echo " Organisation:" . $result->mainName->organisationName; +echo " ABN:".$result->ABN->identifierValue; +// fi + +curl_close($ch); + +?> --- /dev/null +++ b/admin/convertToThematicMapping.php @@ -1,1 +1,64 @@ +"; + +// drop from table existing values +//$result = mysql_query('insert into indicator_values ( "variable", "area", "year", "value" ) VALUES (2107, '.$countryUN[strtoupper($countryName)].', '.$year.','.$countryValue.');'); +//if (!$result) echo mysql_error().$query; + + +foreach ($countryValues as $countryName => $countryValue) { +echo "$countryName".$countryUN[strtoupper($countryName)]."$countryValue"; +$query = 'insert into indicator_values ( `variable`, `area`, `year`, `value` ) VALUES (\'2107\', \''.$countryUN[strtoupper($countryName)].'\', \''.$year.'\',\''.$countryValue.'\');'; +$result = mysql_query($query); +if (!$result) echo mysql_error(); +} + +foreach ($postcodeValues as $postcode => $postcodeValue) { +echo "Australia$postcode$postcodeValue"; +$query = 'INSERT into indicator_values ( `variable`, `area`, `year`, `value` ) VALUES (\'2107\', \''.($postcode*1000).'\', \''.$year.'\',\''.$countryValue.'\');'; +$result = mysql_query($query); +if (!$result) echo mysql_error(); +} + +echo ""; +?> --- /dev/null +++ b/admin/google-example.htm @@ -1,1 +1,39 @@ + + + + My Google AJAX Search API Application - http://contractdashboard.lambdacomplex.org + + + + +
Loading...
+ + --- /dev/null +++ b/admin/google-example.php @@ -1,1 +1,25 @@ +"; +$result = $json->responseData->results[0]; +print_r($result); +echo ""; +echo " Agency: $agency"; +echo " URL: http://".$result->visibleUrl; +preg_match('/\d{2} \d{3} \d{3} \d{3}/i', $result->content,$abn); +echo " ABN: {$abn[0]}"; +// fi + +curl_close($ch); + +?> --- /dev/null +++ b/admin/import.bat @@ -1,1 +1,1 @@ - +c:\wamp\bin\php\php5.3.0\php.exe import.php --- /dev/null +++ b/admin/import.php @@ -1,1 +1,119 @@ +"; +$dhandle = opendir($path); +// define an array to hold the files +$files = array(); +if ($dhandle) { + // loop through all of the files + while (false !== ($fname = readdir($dhandle))) { + if (($fname != '.') && ($fname != '..')) { + echo "$fname".filesize($path.$fname)."
"; + } + } +} + +} else { +$success =0; +$fname = $_REQUEST["fname"]; +echo " ============== $fname ==============
"; +$row = 1; +$handle = fopen($path.$fname, "r"); +//"t" mode string translates windows line breaks to unix +$datamapping0709 = Array("Agency" => "agencyName", "Parent CN ID" => "parentCN", "CN ID" => "CNID", "Publish Date" => "publishDate", "Amendment Date" => "amendDate", "Status" => "", "StartDate" => "contractStart" , "EndDate" => "contractEnd", "Value" => "value", "Description" => "description", "Agency Ref Id" => "agencyID", "Category" => "category", "Procurement Method" => "procurementMethod", "ATM ID" => "atmID", "SON ID" => "SONID","Confidentiality - Contract" => "confidentialityContract", "Confidentiality - Contract Reason(s)" => "confidentialityContractReason", "Confidentiality - Outputs" => "confidentialityOutputs", "Confidentiality - Outputs Reason(s)" => "confidentialityOutputsReason", "Consultancy" => "consultancy", "Consultancy Reason(s)" => "consultancyReason", "Amendment Reason" => "amendmentReason", "Supplier Name" => "supplierName", "Supplier Address" => "supplierAddress", "Supplier City" => "supplierCity", "Supplier Postcode" => "supplierPostcode", "Supplier Country" => "supplierCountry" , "Supplier ABNExempt" => "supplierABNExempt", "Supplier ABN" => "supplierABN" , "Agency Branch" => "contactBranch","Agency Divison" => "contactDivision", "Agency Postcode" => "contactPostcode" , "" => ""); +$headers; +$contractNoticeFields = Array("agencyName", "parentCN", "CNID", "publishDate", "amendDate", "contractStart" , "contractEnd", "value", "description", "agencyID", "category", "procurementMethod", "atmID", "SONID", "confidentialityContract", "confidentialityContractReason", "confidentialityOutputs", "confidentialityOutputsReason", "consultancy", "consultancyReason", "amendmentReason", "supplierName", "supplierAddress", "supplierCity", "supplierPostcode", "supplierCountry" , "supplierABNExempt", "supplierABN", "contactBranch","contactDivision","contactPostcode" ); +$agencyFields = Array("agencyName"); +$supplierFields = Array("supplierName", "supplierAddress", "supplierCity", "supplierPostcode", "supplierCountry" , "supplierABNExempt", "supplierABN" ); + +while (($data = fgetcsv($handle, 1000, "\t")) !== FALSE) { + $num = count($data); + + if ($row == 3) + { + $headers = $data; + } + else if ($row > 3) + { + if ($num > count($datamapping0709)) + { + die ("Error in data import; data mapping fields out of bounds or changed
".$fname.print_r($data)); + } + $firstCN= false; + $firstSupplier= true; + $firstAgency= true; + $contractNoticeInsert = "INSERT INTO contractnotice (importFile, ".implode(" , ",$contractNoticeFields). ") VALUES ( \"$fname\" "; + $supplierInsert = "INSERT INTO supplierdetails (".implode(" , ",$supplierFields). ") VALUES ("; + $agencyInsert = "INSERT INTO agency (".implode(" , ",$agencyFields). ") VALUES ("; + + $keys = array_keys($datamapping0709); + for ($c=0; $c < $num; $c++) { + $data[$c] = trim($data[$c],"="); + $data[$c] = trim($data[$c], "\""); + + if (in_array(($datamapping0709[$headers[$c]]),$contractNoticeFields)) + { + if (($datamapping0709[$headers[$c]]) == "parentCN" || ($datamapping0709[$headers[$c]]) == "CNID") + { + $data[$c] = substr($data[$c],2); + if ($data[$c] >0) + { + $contractNoticeInsert .= ($firstCN ? "" : ","). mysql_real_escape_string($data[$c]); + } else + { + $contractNoticeInsert .= ($firstCN ? "" : ",")."''"; + } + } else if (($datamapping0709[$headers[$c]]) == "amendDate" || ($datamapping0709[$headers[$c]]) == "publishDate" || ($datamapping0709[$headers[$c]]) == "contractStart" || ($datamapping0709[$headers[$c]]) == "contractEnd") + { + $contractNoticeInsert .= ($firstCN ? "" : ","). "'".date( 'Y-m-d H:i:s', strtotime($data[$c])). "'"; + } else + { + if (strstr("\" =",$data[$c] > 0)) + { + die ("Invalid Description field" . $contractNoticeInsert); + } + $contractNoticeInsert .= ($firstCN ? "" : ",") . "'". mysql_real_escape_string($data[$c])."'"; + + } + $firstCN = false; + } + if (in_array(($datamapping0709[$headers[$c]]),$supplierFields)) + { + $supplierInsert .= ($firstSupplier ? "" : ",") . "'". mysql_real_escape_string($data[$c])."'"; + $firstSupplier = false; + } + if (in_array(($datamapping0709[$headers[$c]]),$agencyFields)) + { + $agencyInsert .= ($firstAgency ? "" : ",") . "'". mysql_real_escape_string($data[$c])."'"; + $firstAgency = false; + } + + } + $contractNoticeInsert .= ");"; + $supplierInsert .= ");"; + $agencyInsert .= ");"; + +$result = mysql_query($contractNoticeInsert); +if ($result) $success++; +else echo $data[2] . " failed CN insert.
". mysql_error() ."
$contractNoticeInsert

\n"; + + //$result = mysql_query($agencyInsert); +if ($result) $success++; +else echo $data[2] . " failed agency insert.
". mysql_error() ."
$agencyInsert

\n"; + + $result = mysql_query($supplierInsert); +if ($result) $success++; +else echo $data[2] . " failed supplier insert.
". mysql_error() ."
$supplierInsert

\n"; + +echo "
\n"; + } + + $row++; +} +echo "
$success records successfully created"; +fclose($handle); +} +?> --- /dev/null +++ b/admin/linkAmendments.php @@ -1,1 +1,15 @@ - + 0 "; +$result = mysql_query($query); +while ($row = mysql_fetch_array($result, MYSQL_BOTH)) { + $result2 = mysql_query("UPDATE contractnotice SET childCN = '" . + $row['CNID'] . "', amendmentReason = '" . + $row['amendmentReason'] . "' where CNID = '" . + $row['parentCN'] . "';"); + if ($result2) echo $row['CNID'] . " linked to parent " . $row['parentCN'] . + "
\n"; + else "error" . mysql_error(); +} +?> --- /dev/null +++ b/admin/recordsperweek.txt @@ -1,1 +1,7 @@ + SELECT min( `publishDate` ) AS w, week( `publishDate` ) AS wk, count( 1 ) +FROM `contractnotice` +WHERE YEAR( `publishDate` ) =2009 +GROUP BY wk +ORDER BY w +LIMIT 0 , 30 --- /dev/null +++ b/admin/setAgencyStatus.php @@ -1,1 +1,18 @@ +\n"; + else echo "error".mysql_error(); +} +foreach ($suspended as $agency) { + $result = mysql_query("UPDATE agency SET status = 'suspended' where agencyName = '".mysql_real_escape_string($agency)."';") ; + if ($result) echo $agency. " set to suspended in ". mysql_affected_rows() . " divisions/branches
\n"; + else echo "error".mysql_error(); +} +?> --- /dev/null +++ b/admin/setAgencyURLABN.php @@ -1,1 +1,37 @@ - +"; + $result = $json->responseData->results[0]; + print_r($result); + echo ""; + echo " Agency: $agency"; + echo " URL: http://" . $result->visibleUrl; + preg_match('/\d{2} \d{3} \d{3} \d{3}/i', $result->content, $abn); + $abn[0] = str_replace(" ","",$abn[0]); + echo " ABN: {$abn[0]}"; + if ($abn[0] > 1000) { + $result = mysql_query("UPDATE agency SET website = 'http://" . $result->visibleUrl . "', abn = '{$abn[0]}' WHERE agencyName = '$agency';"); + if ($result) echo $agency . " set in " . mysql_affected_rows() . "
\n"; + } else { + echo "invalid ABN"; + $result = mysql_query("UPDATE agency SET website = 'http://" . $result->visibleUrl . "' WHERE agencyName = '$agency';"); + if ($result) echo $agency . " set in " . mysql_affected_rows() . "
\n"; + } + // fi + +} +curl_close($ch); +?> --- /dev/null +++ b/contractDashboard.kpf @@ -1,1 +1,13 @@ + + + + + *.*~;*.bak;*.tmp;CVS;.#*;*.pyo;*.pyc;.svn;*%*;tmp*.html;.DS_Store + + 1 + 1 + useFolders + + + --- /dev/null +++ b/cutenews/LICENSE.txt @@ -1,1 +1,60 @@ - +CutePHP.com Software License Agreement + +1. This Software License Agreement is a legal agreement between you, +the end-user ("Licensee"), and Authors of software ("Authors"). By +using our software or storing it on a computer hard drive (or other +type of media), you are agreeing to be bound by the terms of this +Agreement. + +2. CutePHP Software IS DISTRIBUTED "AS IS". NO WARRANTY OF ANY KIND IS +EXPRESSED OR IMPLIED. You Use our software AT YOUR OWN RISK. CutePHP +Author hereby disclaims all warranties and guarantees regarding the +use, or the results of use, of the software in terms of correctness, +accuracy, reliability or otherwise. The Author will not be responsible +for any incidental, consequential, direct or indirect damages. You +also agree that the disclaimer is the complete and exclusive statement +of agreement between the parties and supersede all proposals or prior +agreements, oral or written, and any other communications between the +parties relating to the subject matter of the disclaimer. + +3. All copyrights to "CutePHP.com" are exclusively owned by the author +- Georgi Avramov. + +4. You can use CutePHP.com Software for free (non-commercial needs) as +long as you do not remove / edit, and keep visible the "Powered by..." +line (displayed on every page where the script is included) without +the explicit written permission of CutePHP.com or payed registration. +The Software is licensed only to you. You may not rent, lease, +sublicense, sell, assign, pledge, transfer or otherwise dispose of the +Software in any form, on a temporary or permanent basis, without the +prior written consent of CutePHP.com + +5. Users may modify software code for their personal use (at their own +risk), but any altered code must not be redistributed or resold in any +form without the explicit written permission of CutePHP.com + +6. Registered Users/Customers (purchased-license holders) are allowed +to remove the 'Powered by...' line. + +6.1 All customers must include the URL of the domain where the Script +will be used. This is done through the Customer Area at CutePHP.com + +6.2 Customers are allowed to install the script only on the domain +stated in their license. This means that the Licensee can install the +script only on one domain per license purchased. Multiple instances of +the script (installations) are allowed in the scope of the licensed +domain. + +6.3 Once you are in receipt of our software, License fees are +non-refundable. We encourage you to verify (by installing the free +version) that the software is working on your server and no problems +are occurring. + +6.4 Un-Official technical support will be provided in our forums from +voluntary members to both Registered and Un-Registered Users. + +TERMINATION +This Agreement will terminate automatically upon failure to comply +with the limitations described herein or on written notice from an +authorized representative of CutePHP.com. On termination, you must +destroy all copies of the Software within 48 hours. --- /dev/null +++ b/cutenews/README.htm @@ -1,1 +1,433 @@ - +CuteNews README + + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ CuteNews README
+ + +  + +
+ + +

 Information About The Script + +

+ + +  + + + + +

CuteNews v1.4.6 by CutePHP +Team.
+
+Cute news is a powerful and easy for using news management system that use flat files to store its database. It supports
+ comments and archives that can be organized by months.
+Please read the provided license.txt file to get familiar with the legal usage +of this script.
Registered Customers can seek support on at our support mail (technichal issues are discussed in our Forums!) + +

+ + +  + +
+ + +

 Installing CuteNews + +

+ + +  + + + + +

The installation of CuteNews is really easy and you should do it +without any problems if you fallow these steps:

+

 1) Create a directory on your server ( e.g. +cutenews )
2) Upload the content of the cutenews.1.4.6.zip to the directory you +created in step 1
3) Now You must +CHMOD the the directory cutenews/data/ and all files and 
+     folders under the data/ directory must be also +chmod'ed to 777.
+4) Finally, go to http://yoursite.com/cutenews/index.php +with you favorite browser and fallow the instructions. + +

+ + +  + +
+ + +

 Getting The News On Your Page... + +

+ + +  + + + + +

You can show the news,  archives on your page by using +some of the following php codes in your page. 
+The page where you include news, should be with extension .php
+If you want these codes to be auto-generated for you, login into CuteNews and go +to Options > Integration Wizards

+ + +
+ +
+ + +

General + +

+ + +when showing news, archives you can use $number = +x; to limit the to x the number of maximum showed news on +one page. If you use $number, "next >>" link to remaining news +will be displayed. 
+
+if you want to show news, archives from certain category you can use $category += "ID"; where ID is the id of the category, you can choose and more that +one category like this: $category = +"ID1,ID2,ID3";
+
+when you want to display news and headlines on one page for example, and want when a headline +is clicked, the article to be displayed on the place of the news you must use $static += TRUE; before including headlines. + +
+ + +  +

Showing Active News + +

+ + +  + + + + +

<?PHP
+ include("path/to/show_news.php");
+?> + +

+ + +  + +
+ + +  +

Showing with Different Template + +

+ + +  + + + + +<?PHP
+ $template = "YOUR_TEMPLATE_NAME";
+ include("path/to/show_news.php");
+?> + +
+ + +  + +
+ + +  +

Showing Archives + +

+ + +  + + + + +<?PHP
+ include("path/to/show_archives.php");
+?> + +
+ + +  + +
+ + +  +

Showing 5 Latest News + +

+ + +  + + + + +<?PHP
+ $number = "5";
+ include("path/to/show_news.php");
+?> + +
+ + +  + +
+ + +  +

Showing 5 News from Category with ID 2  + +

+ + +  + + + + +<?PHP
+ $number = "5";
+ $category = "2";
+ include("path/to/show_news.php");
+?> + +
+ + +  + +
+ + +  + +

Showing All Headlines And The 1 Latest News Article  On +One Page + +

+ + +  + + + + +

+ + +<?PHP
+ $static = TRUE;
+ $template = "Headlines";
+ include("path/to/show_news.php");
+
+ $number = "1";
+ include("path/to/show_news.php");
+?> + +

+ + +  + +
+ + +  + +
+ + +
+ +

Remember that:

+
    +
  • in all of the above examples you must replace path/to/... to with your + path where you installed CuteNews
    + and not to use the URL but the path
    + WRONG: include("http://site.com/cutenews/show_news.php);
    + CORRECT: include("cutenews/show_news.php);                          
  • +
  • in most cases when you include news and headlines in one page, you must + use $static = TRUE; .
  • +
  • when you use $number, $category, $template or any other variable, it must + be BEFORE include("show_news.php");
  • +
  • if you have any problems, you can always go to our support forums and + we'll be more than glad to help you
    +  
  • +
+ +
+ + +

 Help & Support + +

+ + +  + + + + +

If you have some problems with CuteNews you can go to our +support forum.
+But before posting your problem on our forums, please look at the included Help +Documentation with CuteNews. You can access it through CuteNews > Help > CuteNews internal Help Documentation + +

+ --- /dev/null +++ b/cutenews/data/.htaccess @@ -1,1 +1,5 @@ +Order Deny,Allow +Deny from all +Allow from 127.0.0.1 + --- /dev/null +++ b/cutenews/data/Default.tpl @@ -1,1 +1,72 @@ - + +
{title}
+ +
{short-story}
+ +
[full-link]Read more •[/full-link] [com-link]{comments-num} Comments[/com-link]
+ +
Posted on {date} by {author}
+ +HTML; + + +$template_full = << +
{title}
+ +
{full-story}
+ +
{comments-num} Comments
+ +
Posted on {date} by {author}
+ +HTML; + + +$template_comment = << + +
by {author} @ {date}
+ +
{comment}
+ + +HTML; + + +$template_form = << + + Name: + + + + E-mail: + (optional) + + + Smile: + {smilies} + + + +
+ + | + Forget Me + + + +HTML; + + +$template_prev_next = <<[prev-link]<< Previous[/prev-link] {pages} [next-link]Next >>[/next-link]

+HTML; +$template_comments_prev_next = <<[prev-link]<< Older[/prev-link] ({pages}) [next-link]Newest >>[/next-link]

+HTML; +?> --- /dev/null +++ b/cutenews/data/Headlines.tpl @@ -1,1 +1,65 @@ + +HTML; + +$template_full = << +
{title}
+ +
{full-story}
+ +
{comments-num} Comments
+ +
Posted on {date} by {author}
+ +HTML; + + +$template_comment = << + +
by {author} @ {date}
+ +
{comment}
+ + +HTML; + + +$template_form = << + + Name: + + + + E-mail: + (optional) + + + Smile: + {smilies} + + + +
+ + | + Forget Me + + + +HTML; + + +$template_prev_next = << + --- /dev/null +++ b/cutenews/data/archives/index.htm @@ -1,1 +1,4 @@ +Accedd denied +

You can not view the content of this directory !!!

+ --- /dev/null +++ b/cutenews/data/auto_archive.db.php --- /dev/null +++ b/cutenews/data/backup/index.html @@ -1,1 +1,4 @@ +Accedd denied +

You can not view the content of this directory !!!

+ --- /dev/null +++ b/cutenews/data/cat.num.php @@ -1,1 +1,1 @@ - +0 --- /dev/null +++ b/cutenews/data/category.db.php --- /dev/null +++ b/cutenews/data/comments.txt --- /dev/null +++ b/cutenews/data/config.php @@ -1,1 +1,69 @@ - + --- /dev/null +++ b/cutenews/data/emoticons/.htaccess @@ -1,1 +1,4 @@ +Order Deny,Allow +Allow from all + --- /dev/null +++ b/cutenews/data/emoticons/index.html @@ -1,1 +1,4 @@ +Accedd denied +

You can not view the content of this directory !!!

+ --- /dev/null +++ b/cutenews/data/flood.db.php --- /dev/null +++ b/cutenews/data/index.html @@ -1,1 +1,4 @@ +Accedd denied +

You can not view the content of this directory !!!

+ --- /dev/null +++ b/cutenews/data/ipban.db.php --- /dev/null +++ b/cutenews/data/news.txt --- /dev/null +++ b/cutenews/data/postponed_news.txt --- /dev/null +++ b/cutenews/data/rss.tpl @@ -1,1 +1,36 @@ + +<![CDATA[{title}]]> +{rss-news-include-url}?subaction=showfull&id={news-id}&archive={archive-id} + +{news-id} +{date} + +HTML; + +$template_full = << + --- /dev/null +++ b/cutenews/data/rss_config.php --- /dev/null +++ b/cutenews/data/unapproved_news.txt --- /dev/null +++ b/cutenews/data/upimages/.htaccess @@ -1,1 +1,4 @@ +Order Deny,Allow +Allow from all + --- /dev/null +++ b/cutenews/data/upimages/index.html @@ -1,1 +1,4 @@ +Accedd denied +

You can not view the content of this directory !!!

+ --- /dev/null +++ b/cutenews/data/users.db.php @@ -1,1 +1,3 @@ + +1259446539|1|maxious|9c1cfbdadde1e4c9c5d301f57848bf38|cD team|govhack@lambdacomplex.org|0|0||1259446557|| --- /dev/null +++ b/cutenews/example1.php @@ -1,1 +1,35 @@ - + +Example1 + + +news || +headlines || +arhcives || +search || +See Advanced Example >> + +
+ + + + + + + + --- /dev/null +++ b/cutenews/example2.php @@ -1,1 +1,246 @@ - + + + +Example + + + +
+ + + + + + + + + +
+   + + + + + + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+

 Navigation

+
+  +
main page +
archives +
statistic +
other link +
other link +
+  +
+

 Quick search

+
+
 
+ + +
+  +
+

 banners/sponsors

+
+  +
+ put some banners here +
+  +
+ and another banners here +
+  +
+

 Friends

+
+  +
CutePHP Scripts +
Google News +
Mozilla.org +
+ +



+
+
+
+ +

+ + + + + +
+ +
+ +
+


+ +
+

put your footer and copyright here + +

+ + --- /dev/null +++ b/cutenews/inc/.htaccess @@ -1,1 +1,5 @@ +Order Deny,Allow +Deny from all +Allow from 127.0.0.1 + --- /dev/null +++ b/cutenews/inc/about.mdu @@ -1,1 +1,289 @@ - + + + CuteCode + + + + + + + + + + + + + + + + + + + + + + + +
+ +
+ QuickTags + +
+   + + + Insert Link + + [link=URL]Text[/link] +
+   + + + Insert Image + + [image=URL] +
+   + + + Instert Quote + + [quote=Name]Text[/quote] +
+   + + + Insert List + + [list][*]Text1[*]Text2[/list] +
+   + + + Bold Text + + + [b]Text[/b] +
+   + + + Italic Text + + [i]Text[/i] +
+ +   + + + Underlined Text + + [u]Text[/u] +
+   + + + Text Color + + [color=COLOR]Text[/color] +
+ +   + + + Text Size + + [size=SIZE]Text[/size] +
+   + + + Text Font + + + [font=FONT]Text[/font] +
+   + + + Text Align + + [align=ALIGN]Text[/align] +
+  
+
+ + +
"; +} +else{ + echoheader("question", "Help / About"); + +if ( function_exists("md5_file") ){ + $functions_md5 = md5_file("inc/functions.inc.php"); +}else{ + $functions_md5 = "MD5NotSupported"; +} + + // echo"$functions_md5"; +if(file_exists("./data/reg.php")){ include("./data/reg.php"); } + + echo" + + + + + + + + + + + + <
+   Help & Support  +
+    + + If you are experiencing any kind of problems, the first thing you should do before asking for help from us is look + at CuteNews internal Help Documentation. + If you still can not solve your problem look at the FAQ section of our site or post your issues in our support + forum, but only after you have read the readme.html file included in the zip + +
    +
  1. Internal Help Documentation
  2. +
  3. Readme.html File (online)
  4. +
  5. Support Forums
  6. +
+ +
+   Version Check +
+ + Your version + + : $config_version_name   (build Id - $config_version_id) +