tweak year/agency modifer for queries
[contractdashboard.git] / cutenews / inc / about.mdu
blob:a/cutenews/inc/about.mdu -> blob:b/cutenews/inc/about.mdu
<?PHP <?PHP
// ******************************************************************************** // ********************************************************************************
// CuteCode // CuteCode
// ******************************************************************************** // ********************************************************************************
if($action == "cutecode") if($action == "cutecode")
{ {
echo"<html> echo"<html>
<head> <head>
<title>CuteCode</title> <title>CuteCode</title>
<style type=\"text/css\"> <style type=\"text/css\">
<!-- <!--
BODY, TD {text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;} BODY, TD {text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;}
a:active,a:visited,a:link {color: #446488; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;} a:active,a:visited,a:link {color: #446488; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;}
a:hover {font-size : 8pt; color: #000000; font-family: verdana; text-decoration: none; } a:hover {font-size : 8pt; color: #000000; font-family: verdana; text-decoration: none; }
--> -->
</style> </style>
</head> </head>
<body bgcolor=#FFFFFF> <body bgcolor=#FFFFFF>
<script language=\"javascript\" type=\"text/javascript\"> <script language=\"javascript\" type=\"text/javascript\">
<!-- <!--
function insertcode(type,var1,var2) { function insertcode(type,var1,var2) {
if(var1 != null){ if(var1 != null){
if(var2 == null){ var2=' '; } if(var2 == null){ var2=' '; }
switch(type) { switch(type) {
case 'link': case 'link':
code = '<a href=\"' +var1+ '\">' +var2+ '</a>'; code = '<a href=\"' +var1+ '\">' +var2+ '</a>';
break; break;
case 'image': case 'image':
code = '<img src=\"' +var1+ '\" alt=\"\" style=\"border: none;\" />'; code = '<img src=\"' +var1+ '\" alt=\"\" style=\"border: none;\" />';
break; break;
case 'bold': case 'bold':
code = '<strong>' +var1+ '</strong>'; code = '<strong>' +var1+ '</strong>';
break; break;
case 'italic': case 'italic':
code = '<em>' +var1+ '</em>'; code = '<em>' +var1+ '</em>';
break; break;
case 'underline': case 'underline':
code = '<span style=\"text-decoration: underline;\">' +var1+ '</span>'; code = '<span style=\"text-decoration: underline;\">' +var1+ '</span>';
break; break;
case 'color': case 'color':
code = '<span style=\"color: ' +var1+ '\">' +var2+ '</span>'; code = '<span style=\"color: ' +var1+ '\">' +var2+ '</span>';
break; break;
case 'size': case 'size':
code = '<span style=\"font-size: ' +var1+ 'pt\">' +var2+ '</span>'; code = '<span style=\"font-size: ' +var1+ 'pt\">' +var2+ '</span>';
break; break;
case 'font': case 'font':
code = '<span style=\"font-family: ' +var1+ '\">' +var2+ '</span>'; code = '<span style=\"font-family: ' +var1+ '\">' +var2+ '</span>';
break; break;
case 'align': case 'align':
code = '<div style=\"text-align: ' +var1+ '\">' +var2+ '</div>'; code = '<div style=\"text-align: ' +var1+ '\">' +var2+ '</div>';
break; break;
case 'quote': case 'quote':
code = '[quote]' +var1+ '[/quote]'; code = '[quote]' +var1+ '[/quote]';
break; break;
case 'list': case 'list':
code = '<ul>\\n<li>Text1</li>\\n<li>Text2</li>\\n<li>Text3</li>\\n</ul>'; code = '<ul>\\n<li>Text1</li>\\n<li>Text2</li>\\n<li>Text3</li>\\n</ul>';
alert('Sample List will be inserted into the textarea'); alert('Sample List will be inserted into the textarea');
break; break;
default: default:
} }
code = ' ' + code + ' '; code = ' ' + code + ' ';
opener.document.addnews.$target.value += code; opener.document.addnews.$target.value += code;
if(document.my.ifClose.checked == true) if(document.my.ifClose.checked == true)
{ {
opener.document.addnews.$target.focus(); opener.document.addnews.$target.focus();
window.close(); window.close();
opener.document.addnews.$target.focus(); opener.document.addnews.$target.focus();
} }
} }
} }
//--> //-->
</script> </script>
<table border=0 height=247 width=320 cellspacing=\"0\" cellpadding=\"0\"> <table border=0 height=247 width=320 cellspacing=\"0\" cellpadding=\"0\">
<td height=\"15\" colspan=\"2\" width=\"21\"> <td height=\"15\" colspan=\"2\" width=\"21\">
<td height=\"15\" width=\"342\"> <td height=\"15\" width=\"342\">
<tr> <tr>
<td height=\"15\" colspan=\"2\" width=\"367\"> <td height=\"15\" colspan=\"2\" width=\"367\">
<font size=\"1\" face=\"Verdana\"><b>QuickTags</b></font> <font size=\"1\" face=\"Verdana\"><b>QuickTags</b></font>
<td height=\"15\" width=\"0\"> <td height=\"15\" width=\"0\">
</tr> </tr>
<tr bgcolor=#F7F6F4><td height=16 width=\"21\"> <tr bgcolor=#F7F6F4><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('link', prompt('Enter the complete URL of the hyperlink', 'http://'), prompt('Enter the title of the webpage', '') )\"> <a href=\"javascript:insertcode('link', prompt('Enter the complete URL of the hyperlink', 'http://'), prompt('Enter the title of the webpage', '') )\">
Insert Link</a> Insert Link</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[link=<font color=\"#808080\">URL</font>]<font color=\"#808080\">Text</font>[/link] [link=<font color=\"#808080\">URL</font>]<font color=\"#808080\">Text</font>[/link]
</tr> </tr>
<tr ><td height=16 width=\"21\"> <tr ><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('image', prompt('Enter URL of the Image:', 'http://') )\"> <a href=\"javascript:insertcode('image', prompt('Enter URL of the Image:', 'http://') )\">
Insert Image</a> Insert Image</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[image=<font color=\"#808080\">URL</font>] [image=<font color=\"#808080\">URL</font>]
</tr> </tr>
<tr bgcolor=#F7F6F4><td height=16 width=\"21\"> <tr bgcolor=#F7F6F4><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('quote', prompt('Text to Quote:', '') )\"> <a href=\"javascript:insertcode('quote', prompt('Text to Quote:', '') )\">
Instert Quote</a> Instert Quote</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[quote=<font color=\"#808080\">Name</font>]<font color=\"#808080\">Text</font>[/quote] [quote=<font color=\"#808080\">Name</font>]<font color=\"#808080\">Text</font>[/quote]
</tr> </tr>
<tr ><td height=16 width=\"21\"> <tr ><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('list', 'none' )\"> <a href=\"javascript:insertcode('list', 'none' )\">
Insert List</a> Insert List</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[list]<font color=\"#808080\">[*]Text1[*]Text2</font>[/list] [list]<font color=\"#808080\">[*]Text1[*]Text2</font>[/list]
</tr> </tr>
<tr bgcolor=#F7F6F4><td height=16 width=\"21\"> <tr bgcolor=#F7F6F4><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('bold', prompt('Enter Text you want to be BOLD', '') )\"> <a href=\"javascript:insertcode('bold', prompt('Enter Text you want to be BOLD', '') )\">
Bold Text</a> Bold Text</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[b]<font color=\"#808080\">Text</font>[/b] [b]<font color=\"#808080\">Text</font>[/b]
</tr><tr ><td height=16 width=\"21\"> </tr><tr ><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('italic', prompt('Enter Text you want to be Italic', '') )\"> <a href=\"javascript:insertcode('italic', prompt('Enter Text you want to be Italic', '') )\">
Italic Text</a> Italic Text</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[i]<font color=\"#808080\">Text</font>[/i] [i]<font color=\"#808080\">Text</font>[/i]
</tr><tr bgcolor=#F7F6F4><td height=16 width=\"21\"> </tr><tr bgcolor=#F7F6F4><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('underline', prompt('Enter Text you want to be Underlined', '') )\"> <a href=\"javascript:insertcode('underline', prompt('Enter Text you want to be Underlined', '') )\">
Underlined Text</a> Underlined Text</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[u]<font color=\"#808080\">Text</font>[/u] [u]<font color=\"#808080\">Text</font>[/u]
</tr> </tr>
<tr><td height=16 width=\"21\"> <tr><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('color', prompt('Enter color of the text (blue, red, green, fuchsia)',''), prompt('Enter the text to be in this color','') )\"> <a href=\"javascript:insertcode('color', prompt('Enter color of the text (blue, red, green, fuchsia)',''), prompt('Enter the text to be in this color','') )\">
Text Color</a> Text Color</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[color=<font color=\"#808080\">COLOR</font>]<font color=\"#808080\">Text</font>[/color] [color=<font color=\"#808080\">COLOR</font>]<font color=\"#808080\">Text</font>[/color]
</tr><tr bgcolor=#F7F6F4><td height=16 width=\"21\"> </tr><tr bgcolor=#F7F6F4><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('size', prompt('Enter size of the text (in points format)',''), prompt('Enter the text to be in this size','') )\"> <a href=\"javascript:insertcode('size', prompt('Enter size of the text (in points format)',''), prompt('Enter the text to be in this size','') )\">
Text Size</a> Text Size</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[size=<font color=\"#808080\">SIZE</font>]<font color=\"#808080\">Text</font>[/size] [size=<font color=\"#808080\">SIZE</font>]<font color=\"#808080\">Text</font>[/size]
</tr><tr><td height=16 width=\"21\"> </tr><tr><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('font', prompt('Enter font of the text (verdana, arial, times, courier)',''), prompt('Enter the text to be in this font','') )\"> <a href=\"javascript:insertcode('font', prompt('Enter font of the text (verdana, arial, times, courier)',''), prompt('Enter the text to be in this font','') )\">
Text Font</a> Text Font</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[font=<font color=\"#808080\">FONT</font>]<font color=\"#808080\">Text</font>[/font] [font=<font color=\"#808080\">FONT</font>]<font color=\"#808080\">Text</font>[/font]
</tr><tr bgcolor=#F7F6F4><td height=16 width=\"21\"> </tr><tr bgcolor=#F7F6F4><td height=16 width=\"21\">
&nbsp; &nbsp;
<td height=16 width=\"344\"> <td height=16 width=\"344\">
<a href=\"javascript:insertcode('align', prompt('Enter align of the text (right, left, center, justify)',''), prompt('Enter the text to be in this align','') )\"> <a href=\"javascript:insertcode('align', prompt('Enter align of the text (right, left, center, justify)',''), prompt('Enter the text to be in this align','') )\">
Text Align</a> Text Align</a>
<td height=16 width=\"0\"> <td height=16 width=\"0\">
[align=<font color=\"#808080\">ALIGN</font>]<font color=\"#808080\">Text</font>[/align] [align=<font color=\"#808080\">ALIGN</font>]<font color=\"#808080\">Text</font>[/align]
</tr><tr> </tr><tr>
<td width=21 height=\"57\"> <td width=21 height=\"57\">
&nbsp;<form name=my> &nbsp;<form name=my>
<td height=57 colspan=\"2\" width=\"342\"> <td height=57 colspan=\"2\" width=\"342\">
<label><input type=checkbox checked name=ifClose> Close this window after I insert code</label> <label><input type=checkbox checked name=ifClose> Close this window after I insert code</label>
</tr></form> </tr></form>
</table></body></HTML>"; </table></body></HTML>";
} }
else{ else{
echoheader("question", "Help / About"); echoheader("question", "Help / About");
if ( function_exists("md5_file") ){ if ( function_exists("md5_file") ){
$functions_md5 = md5_file("inc/functions.inc.php"); $functions_md5 = md5_file("inc/functions.inc.php");
}else{ }else{
$functions_md5 = "MD5NotSupported"; $functions_md5 = "MD5NotSupported";
} }
// echo"$functions_md5"; // echo"$functions_md5";
if(file_exists("./data/reg.php")){ include("./data/reg.php"); } if(file_exists("./data/reg.php")){ include("./data/reg.php"); }
echo"<table border=0 cellpading=0 cellspacing=0 width=\"654\" height=\"175\" > echo"<table border=0 cellpading=0 cellspacing=0 width=\"654\" height=\"175\" >
<tr> <tr>
<td width=\"650\" valign=\"middle\" height=\"1\" bgcolor=\"#F7F6F4\" colspan=\"3\"> <td width=\"650\" valign=\"middle\" height=\"1\" bgcolor=\"#F7F6F4\" colspan=\"3\">
&nbsp; <font size=\"2\"><b>Help &amp; Support</b></font>&nbsp; &nbsp; <font size=\"2\"><b>Help &amp; Support</b></font>&nbsp;
</tr> </tr>
<tr> <tr>
<td width=\"31\" valign=\"middle\" height=\"70\"> <td width=\"31\" valign=\"middle\" height=\"70\">
&nbsp;&nbsp; &nbsp;&nbsp;
<td width=\"619\" valign=\"middle\" colspan=\"2\" align=justify> <td width=\"619\" valign=\"middle\" colspan=\"2\" align=justify>
If you are experiencing any kind of problems, the first thing you should do before asking for help from us is look If you are experiencing any kind of problems, the first thing you should do before asking for help from us is look
at <a href=\"$PHP_SELF?mod=help\">CuteNews internal Help Documentation</a>. at <a href=\"$PHP_SELF?mod=help\">CuteNews internal Help Documentation</a>.
If you still can not solve your problem look at the <a href=\"http://cutephp.com/faq/\" target=\"_blank\">FAQ section of our site</a> or post your issues in our <a href=\"http://cutephp.com/forum/\" target=\"_blank\">support If you still can not solve your problem look at the <a href=\"http://cutephp.com/faq/\" target=\"_blank\">FAQ section of our site</a> or post your issues in our <a href=\"http://cutephp.com/forum/\" target=\"_blank\">support
forum</a>, but only after you have read the readme.html file included in the zip forum</a>, but only after you have read the readme.html file included in the zip
<ol style=\"margin-bottom:8px;\"> <ol style=\"margin-bottom:8px;\">
<li><a href=\"$PHP_SELF?mod=help\">Internal Help Documentation</a></li> <li><a href=\"$PHP_SELF?mod=help\">Internal Help Documentation</a></li>
<li><a href=\"http://cutephp.com/cutenews/readme.html\" target=_blank>Readme.html File (online)</a></li> <li><a href=\"http://cutephp.com/cutenews/readme.html\" target=_blank>Readme.html File (online)</a></li>
<li><a href=\"http://cutephp.com/forum/\" target=_blank>Support Forums</a></li> <li><a href=\"http://cutephp.com/forum/\" target=_blank>Support Forums</a></li>
</ol> </ol>
</tr> </tr>
<tr> <tr>
<td width=\"650\" valign=\"middle\" height=\"1\" bgcolor=\"#F7F6F4\" colspan=\"3\"> <td width=\"650\" valign=\"middle\" height=\"1\" bgcolor=\"#F7F6F4\" colspan=\"3\">
&nbsp;&nbsp;<font size=\"2\"><b>Version Check</b></font> &nbsp;&nbsp;<font size=\"2\"><b>Version Check</b></font>
</tr> </tr>
<tr> <tr>
<td width=\"29\" valign=\"middle\" height=\"24\"> <td width=\"29\" valign=\"middle\" height=\"24\">
<td width=\"100\" valign=\"middle\" height=\"24\"> <td width=\"100\" valign=\"middle\" height=\"24\">
Your version Your version
<td width=\"523\" valign=\"middle\" height=\"24\"> <td width=\"523\" valign=\"middle\" height=\"24\">
: $config_version_name &nbsp;&nbsp;(build Id - $config_version_id) : $config_version_name &nbsp;&nbsp;(build Id - $config_version_id)
</tr> </tr>
<tr> <tr>
<td width=\"29\" valign=\"middle\" height=\"23\"> <td width=\"29\" valign=\"middle\" height=\"23\">
<td width=\"100\" valign=\"top\" height=\"23\"> <td width=\"100\" valign=\"top\" height=\"23\">
Latest Version Latest Version
<td width=\"521\" valign=\"top\" height=\"23\"> <td width=\"521\" valign=\"top\" height=\"23\">
: <script type=\"text/javascript\" src=\"http://cutephp.com/cutenews/check_version.php?config_http_script_dir=$config_http_script_dir&mybid=$config_version_id&reglicense=$reg_site_key&functions_md5=$functions_md5\"></script> : <script type=\"text/javascript\" src=\"http://cutephp.com/cutenews/check_version.php?config_http_script_dir=$config_http_script_dir&mybid=$config_version_id&reglicense=$reg_site_key&functions_md5=$functions_md5\"></script>
</tr> </tr>
"; ";
if(!file_exists('./data/reg.php')){ echo" if(!file_exists('./data/reg.php')){ echo"
<tr> <tr>
<td width=\"650\" valign=\"middle\" height=\"1\" bgcolor=\"#F7F6F4\" colspan=\"3\"> <td width=\"650\" valign=\"middle\" height=\"1\" bgcolor=\"#F7F6F4\" colspan=\"3\">
&nbsp;&nbsp;<font size=\"2\" color=red><b>Unregistered</b></font> &nbsp;&nbsp;<font size=\"2\" color=red><b>Unregistered</b></font>
</tr> </tr>
<tr> <tr>
<td width=\"29\" valign=\"middle\" height=\"24\"> <td width=\"29\" valign=\"middle\" height=\"24\">
<td width=\"100\" valign=\"middle\" height=\"24\" style=\"color:red;\"> &raquo; &raquo; &raquo; <td width=\"100\" valign=\"middle\" height=\"24\" style=\"color:red;\"> &raquo; &raquo; &raquo;
<td width=\"523\" valign=\"middle\" height=\"24\">Your version of CuteNews is Unregistered - <b><a href=\"http://cutephp.com/cutenews/register/\" target=_blank>Find out how to register it</a></b><br> <td width=\"523\" valign=\"middle\" height=\"24\">Your version of CuteNews is Unregistered - <b><a href=\"http://cutephp.com/cutenews/register/\" target=_blank>Find out how to register it</a></b><br>
by registering your version, all 'powered by CuteNews...' lines will be removed by registering your version, all 'powered by CuteNews...' lines will be removed
</tr> </tr>
"; ";
} }
echo" echo"
<tr> <tr>
<td width=\"650\" valign=\"middle\" height=\"1\" bgcolor=\"#F7F6F4\" colspan=\"3\"> <td width=\"650\" valign=\"middle\" height=\"1\" bgcolor=\"#F7F6F4\" colspan=\"3\">
&nbsp; <font size=\"2\"><b>Rate our Script</b></font> &nbsp; <font size=\"2\"><b>Rate our Script</b></font>
</tr> </tr>
<tr> <tr>
<td width=\"33\" valign=\"middle\" height=\"47\"> <td width=\"33\" valign=\"middle\" height=\"47\">
<p> <p>
<form action=\"http://www.hotscripts.com/rate/21011.html\" method=\"POST\" target=\"_blank\"> <form action=\"http://www.hotscripts.com/rate/21011.html\" method=\"POST\" target=\"_blank\">
<td width=\"617\" valign=\"middle\" height=\"47\" colspan=\"2\"> <td width=\"617\" valign=\"middle\" height=\"47\" colspan=\"2\">
Please rate our script <a href=\"http://www.hotscripts.com/?RID=11206\" style=\"text-decoration: none\"> Please rate our script <a href=\"http://www.hotscripts.com/?RID=11206\" style=\"text-decoration: none\">
@ HotScripts.com @ HotScripts.com
</a> if you like it. &nbsp; </a> if you like it. &nbsp;
<select name=rating size=1> <select name=rating size=1>
<option value=5 selected>Excellent!</option> <option value=5 selected>Excellent!</option>
<option value=4>Very Good</option> <option value=4>Very Good</option>
<option value=3>Good</option> <option value=3>Good</option>
<option value=2>Fair</option> <option value=2>Fair</option>
<option value=1>Poor</option> <option value=1>Poor</option>
</select> </select>
<input type=\"submit\" value=\"Cast My Vote!\"> <input type=\"submit\" value=\"Cast My Vote!\">
<input type=\"hidden\" name=\"sexternal\" value=\"1\"> <input type=\"hidden\" name=\"sexternal\"