PageRenderTime 81ms CodeModel.GetById 26ms RepoModel.GetById 1ms app.codeStats 0ms

/wp-content/plugins/tinymce-advanced/tadv_admin.php

https://bitbucket.org/erickjones/aotopo
PHP | 413 lines | 328 code | 85 blank | 0 comment | 83 complexity | b1c3020318480b1fcda9b5dee9f635e1 MD5 | raw file
Possible License(s): LGPL-3.0
  1. <?php
  2. if ( !defined('TADV_ADMIN_PAGE') || !current_user_can('manage_options') )
  3. wp_die('Access denied');
  4. if ( isset( $_POST['tadv_uninstall'] ) ) {
  5. check_admin_referer( 'tadv-uninstall' );
  6. delete_option('tadv_options');
  7. delete_option('tadv_toolbars');
  8. delete_option('tadv_plugins');
  9. delete_option('tadv_btns1');
  10. delete_option('tadv_btns2');
  11. delete_option('tadv_btns3');
  12. delete_option('tadv_btns4');
  13. delete_option('tadv_allbtns');
  14. ?>
  15. <div class="updated" style="margin-top:30px;">
  16. <p><?php _e('All options have been removed from the database. You can', 'tadv'); ?> <a href="plugins.php"><?php _e('deactivate TinyMCE Advanced', 'tadv'); ?></a> <?php _e('or', 'tadv'); ?> <a href=""> <?php _e('reload this page', 'tadv'); ?></a> <?php _e('to reset them to the default values.', 'tadv'); ?></p>
  17. </div>
  18. <?php
  19. return;
  20. }
  21. if ( ! isset($GLOBALS['wp_version']) || version_compare($GLOBALS['wp_version'], '3.1', '<') ) { // if less than ...
  22. ?>
  23. <div class="error" style="margin-top:30px;">
  24. <p><?php _e('This plugin requires WordPress version 3.1 or newer. Please upgrade your WordPress installation or download an', 'tadv'); ?> <a href="http://wordpress.org/extend/plugins/tinymce-advanced/download/"><?php _e('older version of the plugin.', 'tadv'); ?></a></p>
  25. </div>
  26. <?php
  27. return;
  28. }
  29. $imgpath = TADV_URL . 'images/';
  30. $tadv_toolbars = get_option('tadv_toolbars');
  31. function _tadv_parse_buttons($row) {
  32. $arr = array();
  33. if ( !empty($_POST['toolbar_' . $row . 'order']) ) {
  34. parse_str($_POST['toolbar_' . $row . 'order'], $arr);
  35. if ( !empty($arr['pre']) && is_array($arr['pre']) )
  36. $arr = $arr['pre'];
  37. }
  38. return $arr;
  39. }
  40. if ( empty($tadv_toolbars) || ! is_array($tadv_toolbars) ) {
  41. @include_once( TADV_PATH . 'tadv_defaults.php');
  42. } else {
  43. $tadv_options = get_option('tadv_options');
  44. $tadv_toolbars['toolbar_1'] = isset($tadv_toolbars['toolbar_1']) && is_array($tadv_toolbars['toolbar_1']) ? $tadv_toolbars['toolbar_1'] : array();
  45. $tadv_toolbars['toolbar_2'] = isset($tadv_toolbars['toolbar_2']) && is_array($tadv_toolbars['toolbar_2']) ? $tadv_toolbars['toolbar_2'] : array();
  46. $tadv_toolbars['toolbar_3'] = isset($tadv_toolbars['toolbar_3']) && is_array($tadv_toolbars['toolbar_3']) ? $tadv_toolbars['toolbar_3'] : array();
  47. $tadv_toolbars['toolbar_4'] = isset($tadv_toolbars['toolbar_4']) && is_array($tadv_toolbars['toolbar_4']) ? $tadv_toolbars['toolbar_4'] : array();
  48. }
  49. if ( isset( $_POST['tadv-save'] ) ) {
  50. check_admin_referer( 'tadv-save-buttons-order' );
  51. $tadv_toolbars['toolbar_1'] = _tadv_parse_buttons(1);
  52. $tadv_toolbars['toolbar_2'] = _tadv_parse_buttons(2);
  53. $tadv_toolbars['toolbar_3'] = _tadv_parse_buttons(3);
  54. $tadv_toolbars['toolbar_4'] = _tadv_parse_buttons(4);
  55. $tadv_options['advlink1'] = !empty($_POST['advlink1']) ? 1 : 0;
  56. $tadv_options['advimage'] = !empty($_POST['advimage']) ? 1 : 0;
  57. $tadv_options['advlist'] = !empty($_POST['advlist']) ? 1 : 0;
  58. $tadv_options['contextmenu'] = !empty($_POST['contextmenu']) ? 1 : 0;
  59. $tadv_options['editorstyle'] = !empty($_POST['editorstyle']) ? 1 : 0;
  60. $tadv_options['hideclasses'] = !empty($_POST['hideclasses']) ? 1 : 0;
  61. $tadv_options['no_autop'] = !empty($_POST['no_autop']) ? 1 : 0;
  62. update_option( 'tadv_toolbars', $tadv_toolbars );
  63. update_option( 'tadv_options', $tadv_options );
  64. }
  65. $btns = array();
  66. $hidden_row = 0;
  67. $i = 0;
  68. foreach ( $tadv_toolbars as $toolbar ) {
  69. $l = $t = false;
  70. $i++;
  71. if ( empty($toolbar) ) {
  72. $btns["toolbar_$i"] = array();
  73. continue;
  74. }
  75. foreach( $toolbar as $k => $v ) {
  76. if ( strpos($v, 'separator') !== false )
  77. $toolbar[$k] = 'separator';
  78. if ( 'layer' == $v )
  79. $l = $k;
  80. if ( 'tablecontrols' == $v )
  81. $t = $k;
  82. if ( empty($v) )
  83. unset($toolbar[$k]);
  84. }
  85. if ( $l !== false )
  86. array_splice( $toolbar, $l, 1, array('insertlayer', 'moveforward', 'movebackward', 'absolute') );
  87. if ( $t !== false )
  88. array_splice( $toolbar, $t + 1, 0, 'delete_table,' );
  89. $btns["toolbar_$i"] = $toolbar;
  90. }
  91. extract($btns);
  92. if ( empty($toolbar_1) && empty($toolbar_2) && empty($toolbar_3) && empty($toolbar_4) ) {
  93. ?><div class="error" id="message"><p><?php _e('All toolbars are empty! Default buttons loaded.', 'tadv'); ?></p></div><?php
  94. @include_once( TADV_PATH . 'tadv_defaults.php' );
  95. $used_buttons = array_merge( $tadv_btns1, $tadv_btns2, $tadv_btns3, $tadv_btns4 );
  96. } else {
  97. $used_buttons = array_merge( $toolbar_1, $toolbar_2, $toolbar_3, $toolbar_4 );
  98. }
  99. if ( in_array('advhr', $used_buttons, true) )
  100. $plugins[] = 'advhr';
  101. if ( in_array('insertlayer', $used_buttons, true) )
  102. $plugins[] = 'layer';
  103. if ( in_array('visualchars', $used_buttons, true) )
  104. $plugins[] = 'visualchars';
  105. if ( in_array('nonbreaking', $used_buttons, true) )
  106. $plugins[] = 'nonbreaking';
  107. if ( in_array('styleprops', $used_buttons, true) )
  108. $plugins[] = 'style';
  109. if ( in_array('emotions', $used_buttons, true) )
  110. $plugins[] = 'emotions';
  111. if ( in_array('insertdate', $used_buttons, true) || in_array('inserttime', $used_buttons, true) )
  112. $plugins[] = 'insertdatetime';
  113. if ( in_array('tablecontrols', $used_buttons, true) )
  114. $plugins[] = 'table';
  115. if ( in_array('print', $used_buttons, true) )
  116. $plugins[] = 'print';
  117. if ( in_array('iespell', $used_buttons, true) )
  118. $plugins[] = 'iespell';
  119. if ( in_array('search', $used_buttons, true) || in_array('replace', $used_buttons, true) )
  120. $plugins[] = 'searchreplace';
  121. if ( in_array('cite', $used_buttons, true) || in_array('ins', $used_buttons, true) ||
  122. in_array('del', $used_buttons, true) || in_array('abbr', $used_buttons, true) ||
  123. in_array('acronym', $used_buttons, true) || in_array('attribs', $used_buttons, true) )
  124. $plugins[] = 'xhtmlxtras';
  125. if ( !empty($tadv_options['advlink1']) )
  126. $plugins[] = 'advlink';
  127. if ( !empty($tadv_options['advlist']) )
  128. $plugins[] = 'advlist';
  129. if ( !empty($tadv_options['advimage']) )
  130. $plugins[] = 'advimage';
  131. if ( !empty($tadv_options['contextmenu']) )
  132. $plugins[] = 'contextmenu';
  133. $buttons = array( 'Horizontal rule' => 'hr', 'Hide next row' => 'wp_adv', 'Quote' => 'blockquote', 'Bold' => 'bold', 'Italic' => 'italic', 'Strikethrough' => 'strikethrough', 'Underline' => 'underline', 'Bullet List' => 'bullist', 'Numbered List' => 'numlist', 'Outdent' => 'outdent', 'Indent' => 'indent', 'Allign Left' => 'justifyleft', 'Center' => 'justifycenter', 'Alligh Right' => 'justifyright', 'Justify' => 'justifyfull', 'Cut' => 'cut', 'Copy' => 'copy', 'Paste' => 'paste', 'Link' => 'link', 'Remove Link' => 'unlink', 'Insert Image' => 'image', 'More Tag' => 'wp_more', 'Split Page' => 'wp_page', 'Search' => 'search', 'Replace' => 'replace', '<!--fontselect-->' => 'fontselect', '<!--fontsizeselect-->' => 'fontsizeselect', 'Help' => 'wp_help', 'Full Screen' => 'fullscreen', '<!--styleselect-->' => 'styleselect', '<!--formatselect-->' => 'formatselect', 'Text Color' => 'forecolor', 'Back Color' => 'backcolor', 'Paste as Text' => 'pastetext', 'Paste from Word' => 'pasteword', 'Remove Format' => 'removeformat', 'Clean Code' => 'cleanup', 'Check Spelling' => 'spellchecker', 'Character Map' => 'charmap', 'Print' => 'print', 'Undo' => 'undo', 'Redo' => 'redo', 'Table' => 'tablecontrols', 'Citation' => 'cite', 'Inserted Text' => 'ins', 'Deleted Text' => 'del', 'Abbreviation' => 'abbr', 'Acronym' => 'acronym', 'XHTML Attribs' => 'attribs', 'Layer' => 'layer', 'Advanced HR' => 'advhr', 'View HTML' => 'code', 'Hidden Chars' => 'visualchars', 'NB Space' => 'nonbreaking', 'Sub' => 'sub', 'Sup' => 'sup', 'Visual Aids' => 'visualaid', 'Insert Date' => 'insertdate', 'Insert Time' => 'inserttime', 'Anchor' => 'anchor', 'Style' => 'styleprops', 'Smilies' => 'emotions', 'Insert Movie' => 'media', 'IE Spell' => 'iespell' );
  134. if ( function_exists('moxiecode_plugins_url') ) {
  135. if ( moxiecode_plugins_url('imagemanager') )
  136. $buttons['MCFileManager'] = 'insertimage';
  137. if ( moxiecode_plugins_url('filemanager') )
  138. $buttons['MCImageManager'] = 'insertfile';
  139. }
  140. $tadv_allbtns = array_values($buttons);
  141. $tadv_allbtns[] = 'separator';
  142. $tadv_allbtns[] = '|';
  143. for ( $i = 1; $i < 21; $i++ )
  144. $buttons["s$i"] = "separator$i";
  145. if ( isset($_POST['tadv-save']) ) {
  146. update_option( 'tadv_plugins', $plugins );
  147. update_option( 'tadv_btns1', $toolbar_1 );
  148. update_option( 'tadv_btns2', $toolbar_2 );
  149. update_option( 'tadv_btns3', $toolbar_3 );
  150. update_option( 'tadv_btns4', $toolbar_4 );
  151. update_option( 'tadv_allbtns', $tadv_allbtns );
  152. ?>
  153. <div class="updated" id="message"><p><?php _e('Options saved', 'tadv'); ?></p></div>
  154. <?php } ?>
  155. <div class="wrap" id="contain">
  156. <h2><?php _e('TinyMCE Buttons Arrangement', 'tadv'); ?></h2>
  157. <form id="tadvadmin" method="post" action="" onsubmit="">
  158. <p><?php _e('Drag and drop buttons onto the toolbars below.', 'tadv'); ?></p>
  159. <div id="tadvzones">
  160. <input id="toolbar_1order" name="toolbar_1order" value="" type="hidden" />
  161. <input id="toolbar_2order" name="toolbar_2order" value="" type="hidden" />
  162. <input id="toolbar_3order" name="toolbar_3order" value="" type="hidden" />
  163. <input id="toolbar_4order" name="toolbar_4order" value="" type="hidden" />
  164. <input name="tadv-save" value="1" type="hidden" />
  165. <div class="tadvdropzone">
  166. <ul style="position: relative;" id="toolbar_1" class="container">
  167. <?php
  168. if ( is_array($tadv_toolbars['toolbar_1']) ) {
  169. $tb1 = array();
  170. foreach( $tadv_toolbars['toolbar_1'] as $k ) {
  171. $t = array_intersect( $buttons, (array) $k );
  172. $tb1 += $t;
  173. }
  174. foreach( $tb1 as $name => $btn ) {
  175. if ( strpos( $btn, 'separator' ) !== false ) { ?>
  176. <li class="separator" id="pre_<?php echo $btn; ?>">
  177. <div class="tadvitem"> </div></li>
  178. <?php } else { ?>
  179. <li class="tadvmodule" id="pre_<?php echo $btn; ?>">
  180. <div class="tadvitem"><div id="<?php echo $btn; ?>" title="<?php echo $name; ?>"></div>
  181. <span class="descr"> <?php echo $name; ?></span>
  182. </div></li>
  183. <?php }
  184. }
  185. $buttons = array_diff( $buttons, $tb1 );
  186. } ?>
  187. </ul></div>
  188. <br class="clear" />
  189. <div class="tadvdropzone">
  190. <ul style="position: relative;" id="toolbar_2" class="container">
  191. <?php
  192. if ( is_array($tadv_toolbars['toolbar_2']) ) {
  193. $tb2 = array();
  194. foreach( $tadv_toolbars['toolbar_2'] as $k ) {
  195. $t = array_intersect( $buttons, (array) $k );
  196. $tb2 = $tb2 + $t;
  197. }
  198. foreach( $tb2 as $name => $btn ) {
  199. if ( strpos( $btn, 'separator' ) !== false ) { ?>
  200. <li class="separator" id="pre_<?php echo $btn; ?>">
  201. <div class="tadvitem"> </div></li>
  202. <?php } else { ?>
  203. <li class="tadvmodule" id="pre_<?php echo $btn; ?>">
  204. <div class="tadvitem"><div id="<?php echo $btn; ?>" title="<?php echo $name; ?>"></div>
  205. <span class="descr"> <?php echo $name; ?></span></div></li>
  206. <?php }
  207. }
  208. $buttons = array_diff( $buttons, $tb2 );
  209. } ?>
  210. </ul></div>
  211. <br class="clear" />
  212. <div class="tadvdropzone">
  213. <ul style="position: relative;" id="toolbar_3" class="container">
  214. <?php
  215. if ( is_array($tadv_toolbars['toolbar_3']) ) {
  216. $tb3 = array();
  217. foreach( $tadv_toolbars['toolbar_3'] as $k ) {
  218. $t = array_intersect( $buttons, (array) $k );
  219. $tb3 += $t;
  220. }
  221. foreach( $tb3 as $name => $btn ) {
  222. if ( strpos( $btn, 'separator' ) !== false ) { ?>
  223. <li class="separator" id="pre_<?php echo $btn; ?>">
  224. <div class="tadvitem"> </div></li>
  225. <?php } else { ?>
  226. <li class="tadvmodule" id="pre_<?php echo $btn; ?>">
  227. <div class="tadvitem"><div id="<?php echo $btn; ?>" title="<?php echo $name; ?>"></div>
  228. <span class="descr"> <?php echo $name; ?></span></div></li>
  229. <?php }
  230. }
  231. $buttons = array_diff( $buttons, $tb3 );
  232. } ?>
  233. </ul></div>
  234. <br class="clear" />
  235. <div class="tadvdropzone">
  236. <ul style="position: relative;" id="toolbar_4" class="container">
  237. <?php
  238. if ( is_array($tadv_toolbars['toolbar_4']) ) {
  239. $tb4 = array();
  240. foreach( $tadv_toolbars['toolbar_4'] as $k ) {
  241. $t = array_intersect( $buttons, (array) $k );
  242. $tb4 += $t;
  243. }
  244. foreach( $tb4 as $name => $btn ) {
  245. if ( strpos( $btn, 'separator' ) !== false ) { ?>
  246. <li class="separator" id="pre_<?php echo $btn; ?>">
  247. <div class="tadvitem"> </div></li>
  248. <?php } else { ?>
  249. <li class="tadvmodule" id="pre_<?php echo $btn; ?>">
  250. <div class="tadvitem"><div id="<?php echo $btn; ?>" title="<?php echo $name; ?>"></div>
  251. <span class="descr"> <?php echo $name; ?></span></div></li>
  252. <?php }
  253. }
  254. $buttons = array_diff( $buttons, $tb4 );
  255. } ?>
  256. </ul></div>
  257. <br class="clear" />
  258. </div>
  259. <div id="tadvWarnmsg">&nbsp;
  260. <span id="too_long" style="display:none;"><?php _e('Adding too many buttons will make the toolbar too long and will not display correctly in TinyMCE!', 'tadv'); ?></span>
  261. </div>
  262. <div id="tadvpalettediv">
  263. <ul style="position: relative;" id="tadvpalette">
  264. <?php
  265. if ( is_array($buttons) ) {
  266. foreach( $buttons as $name => $btn ) {
  267. if ( strpos( $btn, 'separator' ) !== false ) { ?>
  268. <li class="separator" id="pre_<?php echo $btn; ?>">
  269. <div class="tadvitem"> </div></li>
  270. <?php } else { ?>
  271. <li class="tadvmodule" id="pre_<?php echo $btn; ?>">
  272. <div class="tadvitem"><div id="<?php echo $btn; ?>" title="<?php echo $name; ?>"></div>
  273. <span class="descr"> <?php echo $name; ?></span></div></li>
  274. <?php }
  275. }
  276. } ?>
  277. </ul>
  278. </div>
  279. <table class="clear" style="margin:10px 0"><tr><td style="padding:2px 12px 8px;">
  280. Also enable:
  281. <label for="advimage" class="tadv-box"><?php _e('Advanced Image', 'tadv'); ?> &nbsp;
  282. <input type="checkbox" class="tadv-chk" name="advimage" id="advimage" <?php if ( !empty($tadv_options['advimage']) ) echo ' checked="checked"'; ?> /></label> &bull;
  283. <label for="advlist" class="tadv-box"><?php _e('Advanced List Options', 'tadv'); ?> &nbsp;
  284. <input type="checkbox" class="tadv-chk" name="advlist" id="advlist" <?php if ( !empty($tadv_options['advlist']) ) echo ' checked="checked"'; ?> /></label> &bull;
  285. <label for="contextmenu" class="tadv-box"><?php _e('Context Menu', 'tadv'); ?> &nbsp;
  286. <input type="checkbox" class="tadv-chk" name="contextmenu" id="contextmenu" <?php if ( !empty($tadv_options['contextmenu']) ) echo ' checked="checked"'; ?> /></label>
  287. <?php _e('(to show the browser context menu in Firefox, hold down the Ctrl key).', 'tadv'); ?>
  288. </td></tr>
  289. <tr><td style="border:1px solid #CD0000;padding:2px 12px 8px;">
  290. <p style="font-weight:bold;color:#CD0000;"><?php _e('Advanced Options', 'tadv'); ?></p>
  291. <p><input type="checkbox" class="tadv-chk" name="advlink1" id="advlink1" <?php if ( !empty($tadv_options['advlink1']) ) echo ' checked="checked"'; ?> /> <label for="advlink1" class="tadv-box"><?php _e('Advanced Link', 'tadv'); ?></label> <?php _e('Enabling this TinyMCE plugin will overwrite the internal links feature in WordPress 3.1 and newer. Cuttently there is no way to enable both of them at the same time.', 'tadv'); ?></p>
  292. <?php if ( ! current_theme_supports( 'editor-style' ) ) { ?>
  293. <p><?php _e('It seems your theme (still) doesn\'t support customised styles for the editor. If you would like to use that, you can create a file named <i>editor-style.css</i> and add it to your theme\'s directory. You can use the editor-style.css from the Twenty Ten theme as a template.', 'tadv'); ?></p>
  294. <p><input type="checkbox" class="tadv-chk" name="editorstyle" id="editorstyle" <?php if ( !empty($tadv_options['editorstyle']) ) echo ' checked="checked"'; ?> /> <label for="editorstyle" class="tadv-box"><?php _e('Import editor-style.css.', 'tadv'); ?></label> <?php _e('This is only needed if you created that file. Themes that style the editor will import the stylesheet automatically.', 'tadv'); ?></p>
  295. <?php } ?>
  296. <p><input type="checkbox" class="tadv-chk" name="hideclasses" id="hideclasses" <?php if ( !empty($tadv_options['hideclasses']) ) echo ' checked="checked"'; ?> /> <label for="hideclasses" class="tadv-box"><?php _e('Hide all CSS classes in the editor menus.', 'tadv'); ?></label> <?php _e('Note that selecting this will also disable the Styles drop-down menu.', 'tadv'); ?></p>
  297. <p><input type="checkbox" class="tadv-chk" name="no_autop" id="no_autop" <?php if ( !empty($tadv_options['no_autop']) ) echo ' checked="checked"'; ?> /> <label for="no_autop" class="tadv-box"><?php _e('Stop removing the &lt;p&gt; and &lt;br /&gt; tags when saving and show them in the HTML editor', 'tadv'); ?></label> <?php _e('This will make it possible to use more advanced coding in the HTML editor without the back-end filtering affecting it much. However it may behave unexpectedly in rare cases, so test it thoroughly before enabling it permanently. Also line breaks in the HTML editor would still affect the output, in particular do not use empty lines, line breaks inside HTML tags or multiple &lt;br /&gt; tags.', 'tadv'); ?></p>
  298. </td></tr>
  299. <?php
  300. $mce_locale = ( '' == get_locale() ) ? 'en' : strtolower( substr(get_locale(), 0, 2) );
  301. if ( $mce_locale != 'en' ) {
  302. if ( ! @file_exists(TADV_PATH . 'mce/advlink/langs/' . $mce_locale . '_dlg.js') ) { ?>
  303. <tr><td style="padding:2px 12px 8px;">
  304. <p style="font-weight:bold;"><?php _e('Language Settings', 'tadv'); ?></p>
  305. <p><?php _e('Your WordPress language is set to', 'tadv'); ?> <strong><?php echo get_locale(); ?></strong>. <?php _e('However there is no matching language installed for TinyMCE plugins. This plugin includes several translations: German, French, Italian, Spanish, Portuguese, Russian, Japanese and Chinese. More translations are available at the', 'tadv'); ?> <a href="http://www.tinymce.com/i18n/index.php?ctrl=lang&act=download&pr_id=1"><?php _e('TinyMCE web site.', 'tadv'); ?></a></p>
  306. </td></tr>
  307. <?php }
  308. } // end mce_locale
  309. ?>
  310. </table>
  311. <p>
  312. <?php wp_nonce_field( 'tadv-save-buttons-order' ); ?>
  313. <input class="button tadv_btn" type="button" class="tadv_btn" value="<?php _e('Remove Settings', 'tadv'); ?>" onclick="document.getElementById('tadv_uninst_div').style.display = 'block';" />
  314. <input class="button-primary tadv_btn" type="button" value="<?php _e('Save Changes', 'tadv'); ?>" onclick="tadvSortable.serialize();" />
  315. </p>
  316. </form>
  317. <div id="tadvWarnmsg2">&nbsp;
  318. <span id="sink_err" style="display:none;"><?php _e('The Kitchen Sink button shows/hides the next toolbar row. It will not work at the current place.', 'tadv'); ?></span>
  319. </div>
  320. <div id="tadv_uninst_div" style="">
  321. <form method="post" action="">
  322. <?php wp_nonce_field('tadv-uninstall'); ?>
  323. <div><?php _e('Remove all saved settings from the database?', 'tadv'); ?>
  324. <input class="button tadv_btn" type="button" name="cancel" value="<?php _e('Cancel', 'tadv'); ?>" onclick="document.getElementById('tadv_uninst_div').style.display = 'none';" style="margin-left:20px" />
  325. <input class="button tadv_btn" type="submit" name="tadv_uninstall" value="<?php _e('Continue', 'tadv'); ?>" /></div>
  326. </form>
  327. </div>
  328. </div>