Location: PHPKode > projects > Esvon Personals > esvon-personals/html_editor/htmlarea2/render.php
<?php

function HTML_Editor_htmlarea2_getCode($textarea_name, $textarea_code){

    $s = '<table border=0 cellspacing=0><tr><td>'.$textarea_code.'</td></tr></table>';

    static $js_loaded;
    if(!isset($js_loaded)){
      $js_loaded = 1;

      $base_path = @parse_url(SITE_URL);
      $base_path = $base_path['path'] ? $base_path['path'] : '/';
      $base_path = $base_path;

      $s.='<script> var Site_URL = "'.$base_path.'"; </script>
      <script language="Javascript1.2" src="'.$base_path.'html_editor/htmlarea2/htmlarea.js"></script>';
    }
    return $s.'<script language="Javascript1.2">editor_generate(\''.$textarea_name.'\');</script>';

}

?>
Return current item: Esvon Personals