Initial Commit
[contractdashboard.git] / cutenews / inc / about.mdu
1 <?PHP
2
3 // ********************************************************************************
4 // CuteCode
5 // ********************************************************************************
6 if($action == "cutecode")
7 {
8 echo"<html>
9 <head>
10 <title>CuteCode</title>
11 <style type=\"text/css\">
12 <!--
13 BODY, TD {text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;}
14 a:active,a:visited,a:link {color: #446488; text-decoration: none; font-family: Verdana, Arial, Helvetica, sans-serif; font-size: 8pt;}
15 a:hover {font-size : 8pt; color: #000000; font-family: verdana; text-decoration: none; }
16 -->
17 </style>
18 </head>
19 <body bgcolor=#FFFFFF>
20 <script language=\"javascript\" type=\"text/javascript\">
21 <!--
22 function insertcode(type,var1,var2) {
23
24 if(var1 != null){
25 if(var2 == null){ var2=' '; }
26
27 switch(type) {
28 case 'link':
29 code = '<a href=\"' +var1+ '\">' +var2+ '</a>';
30 break;
31 case 'image':
32 code = '<img src=\"' +var1+ '\" alt=\"\" style=\"border: none;\" />';
33 break;
34 case 'bold':
35 code = '<strong>' +var1+ '</strong>';
36 break;
37 case 'italic':
38 code = '<em>' +var1+ '</em>';
39 break;
40 case 'underline':
41 code = '<span style=\"text-decoration: underline;\">' +var1+ '</span>';
42 break;
43 case 'color':
44 code = '<span style=\"color: ' +var1+ '\">' +var2+ '</span>';
45 break;
46 case 'size':
47 code = '<span style=\"font-size: ' +var1+ 'pt\">' +var2+ '</span>';
48 break;
49 case 'font':
50 code = '<span style=\"font-family: ' +var1+ '\">' +var2+ '</span>';
51 break;
52 case 'align':
53 code = '<div style=\"text-align: ' +var1+ '\">' +var2+ '</div>';
54 break;
55 case 'quote':
56 code = '[quote]' +var1+ '[/quote]';
57 break;
58 case 'list':
59 code = '<ul>\\n<li>Text1</li>\\n<li>Text2</li>\\n<li>Text3</li>\\n</ul>';
60 alert('Sample List will be inserted into the textarea');
61 break;
62 default:
63 }
64
65 code = ' ' + code + ' ';
66 opener.document.addnews.$target.value += code;
67 if(document.my.ifClose.checked == true)
68 {
69 opener.document.addnews.$target.focus();
70 window.close();
71 opener.document.addnews.$target.focus();
72 }
73 }
74 }
75 //-->
76 </script>
77 <table border=0 height=247 width=320 cellspacing=\"0\" cellpadding=\"0\">
78
79 <td height=\"15\" colspan=\"2\" width=\"21\">
80 <td height=\"15\" width=\"342\">
81 <tr>
82 <td height=\"15\" colspan=\"2\" width=\"367\">
83 <font size=\"1\" face=\"Verdana\"><b>QuickTags</b></font>
84 <td height=\"15\" width=\"0\">
85 </tr>
86
87 <tr bgcolor=#F7F6F4><td height=16 width=\"21\">
88 &nbsp;
89 <td height=16 width=\"344\">
90 <a href=\"javascript:insertcode('link', prompt('Enter the complete URL of the hyperlink', 'http://'), prompt('Enter the title of the webpage', '') )\">
91 Insert Link</a>
92 <td height=16 width=\"0\">
93 [link=<font color=\"#808080\">URL</font>]<font color=\"#808080\">Text</font>[/link]
94 </tr>
95
96 <tr ><td height=16 width=\"21\">
97 &nbsp;
98 <td height=16 width=\"344\">
99 <a href=\"javascript:insertcode('image', prompt('Enter URL of the Image:', 'http://') )\">
100 Insert Image</a>
101 <td height=16 width=\"0\">
102 [image=<font color=\"#808080\">URL</font>]
103 </tr>
104
105 <tr bgcolor=#F7F6F4><td height=16 width=\"21\">
106 &nbsp;
107 <td height=16 width=\"344\">
108 <a href=\"javascript:insertcode('quote', prompt('Text to Quote:', '') )\">
109 Instert Quote</a>
110 <td height=16 width=\"0\">
111 [quote=<font color=\"#808080\">Name</font>]<font color=\"#808080\">Text</font>[/quote]
112 </tr>
113
114 <tr ><td height=16 width=\"21\">
115 &nbsp;
116 <td height=16 width=\"344\">
117 <a href=\"javascript:insertcode('list', 'none' )\">
118 Insert List</a>
119 <td height=16 width=\"0\">
120 [list]<font color=\"#808080\">[*]Text1[*]Text2</font>[/list]
121 </tr>
122
123 <tr bgcolor=#F7F6F4><td height=16 width=\"21\">
124 &nbsp;
125 <td height=16 width=\"344\">
126 <a href=\"javascript:insertcode('bold', prompt('Enter Text you want to be BOLD', '') )\">
127 Bold Text</a>
128
129 <td height=16 width=\"0\">
130 [b]<font color=\"#808080\">Text</font>[/b]
131 </tr><tr ><td height=16 width=\"21\">
132 &nbsp;
133 <td height=16 width=\"344\">
134 <a href=\"javascript:insertcode('italic', prompt('Enter Text you want to be Italic', '') )\">
135 Italic Text</a>
136 <td height=16 width=\"0\">
137 [i]<font color=\"#808080\">Text</font>[/i]
138 </tr><tr bgcolor=#F7F6F4><td height=16 width=\"21\">
139
140 &nbsp;
141 <td height=16 width=\"344\">
142 <a href=\"javascript:insertcode('underline', prompt('Enter Text you want to be Underlined', '') )\">
143 Underlined Text</a>
144 <td height=16 width=\"0\">
145 [u]<font color=\"#808080\">Text</font>[/u]
146 </tr>
147
148
149
150 <tr><td height=16 width=\"21\">
151 &nbsp;
152 <td height=16 width=\"344\">
153 <a href=\"javascript:insertcode('color', prompt('Enter color of the text (blue, red, green, fuchsia)',''), prompt('Enter the text to be in this color','') )\">
154 Text Color</a>
155 <td height=16 width=\"0\">
156 [color=<font color=\"#808080\">COLOR</font>]<font color=\"#808080\">Text</font>[/color]
157 </tr><tr bgcolor=#F7F6F4><td height=16 width=\"21\">
158
159 &nbsp;
160 <td height=16 width=\"344\">
161 <a href=\"javascript:insertcode('size', prompt('Enter size of the text (in points format)',''), prompt('Enter the text to be in this size','') )\">
162 Text Size</a>
163 <td height=16 width=\"0\">
164 [size=<font color=\"#808080\">SIZE</font>]<font color=\"#808080\">Text</font>[/size]
165 </tr><tr><td height=16 width=\"21\">
166 &nbsp;
167 <td height=16 width=\"344\">
168 <a href=\"javascript:insertcode('font', prompt('Enter font of the text (verdana, arial, times, courier)',''), prompt('Enter the text to be in this font','') )\">
169 Text Font</a>
170
171 <td height=16 width=\"0\">
172 [font=<font color=\"#808080\">FONT</font>]<font color=\"#808080\">Text</font>[/font]
173 </tr><tr bgcolor=#F7F6F4><td height=16 width=\"21\">
174 &nbsp;
175 <td height=16 width=\"344\">
176 <a href=\"javascript:insertcode('align', prompt('Enter align of the text (right, left, center, justify)',''), prompt('Enter the text to be in this align','') )\">
177 Text Align</a>
178 <td height=16 width=\"0\">
179 [align=<font color=\"#808080\">ALIGN</font>]<font color=\"#808080\">Text</font>[/align]
180 </tr><tr>
181 <td width=21 height=\"57\">
182 &nbsp;<form name=my>
183 <td height=57 colspan=\"2\" width=\"342\">
184
185 <label><input type=checkbox checked name=ifClose> Close this window after I insert code</label>
186 </tr></form>
187 </table></body></HTML>";
188 }
189 else{
190 echoheader("question", "Help / About");
191
192 if ( function_exists("md5_file") ){
193 $functions_md5 = md5_file("inc/functions.inc.php");
194 }else{
195 $functions_md5 = "MD5NotSupported";
196 }
197
198 // echo"$functions_md5";
199 if(file_exists("./data/reg.php")){ include("./data/reg.php"); }
200
201 echo"<table border=0 cellpading=0 cellspacing=0 width=\"654\" height=\"175\" >
202 <tr>
203 <td width=\"650\" valign=\"middle\" height=\"1\" bgcolor=\"#F7F6F4\" colspan=\"3\">
204 &nbsp; <font size=\"2\"><b>Help &amp; Support</b></font>&nbsp;
205 </tr>
206 <tr>
207 <td width=\"31\" valign=\"middle\" height=\"70\">
208 &nbsp;&nbsp;
209 <td width=\"619\" valign=\"middle\" colspan=\"2\" align=justify>
210 If you are experiencing any kind of problems, the first thing you should do before asking for help from us is look
211 at <a href=\"$PHP_SELF?mod=help\">CuteNews internal Help Documentation</a>.
212 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