4images code on GitHub Click here to visit GitHub.
0 Members and 1 Guest are viewing this topic.
$site_template->register_vars(array( "lang_bbcode" => $lang['bbcode'], "lang_tag_prompt" => $lang['tag_prompt'], "lang_link_text_prompt" => $lang['link_text_prompt'], "lang_link_url_prompt" => $lang['link_url_prompt'], "lang_link_email_prompt" => $lang['link_email_prompt'], "lang_list_type_prompt" => $lang['list_type_prompt'], "lang_list_item_prompt" => $lang['list_item_prompt'] ));
$site_template->register_vars(array( "lang_bbcode" => $lang['bbcode'], "lang_tag_prompt" => $lang['tag_prompt'], "lang_link_text_prompt" => $lang['link_text_prompt'], "lang_link_url_prompt" => $lang['link_url_prompt'], "lang_link_email_prompt" => $lang['link_email_prompt'], "lang_list_type_prompt" => $lang['list_type_prompt'], "lang_list_item_prompt" => $lang['list_item_prompt'], //BBCODE 2 "lang_close_tags" => $lang['close_tags'], "lang_all" => $lang['all'], "smiles_text" => get_smiles_text(), "bbc_help" => $bbc_help ////BBCODE" ));
<br /><script language="JavaScript" type="text/javascript" src="bbcode.js"></script><table border="0" cellspacing="0" cellpadding="0"> <tr> <td class="head1"> <table border="0" cellspacing="1" cellpadding="3"> <tr> <td class="head1">{lang_bbcode}</td> </tr> <tr> <td class="row1"> <table border="0" cellspacing="0" cellpadding="1" width="300"> <tr> <td> {smiles_text} <a href="smiles.php" onclick="window.open('smiles.php', '_4imagessmilies', 'resizable=yes,scrollbars=yes,WIDTH=225, HEIGHT=310');return false;" target="_4imagessmilies">{lang_all}</a> </td> </tr> </table> <table border="0" cellspacing="0" cellpadding="1" width="305"> <tr> <td> <input type="button" class="bbcbutton" accesskey="b" name="addbbcode0" value="B" style="font-weight:bold; width: 30px" onClick="bbstyle(0)"/> </td> <td> <input type="button" class="bbcbutton" accesskey="i" name="addbbcode2" value="i" style="font-style:italic; width: 30px" onClick="bbstyle(2)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="u" name="addbbcode4" value="u" style="text-decoration: underline; width: 30px" onClick="bbstyle(4)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="" name="addbbcode6" value="S" style="text-decoration: line-through; width: 30px" onClick="bbstyle(6)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="" name="addbbcode8" value="Sub" style="width: 40px" onClick="bbstyle(8)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="" name="addbbcode10" value="Sup" style="width: 40px" onClick="bbstyle(10)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="" name="addbbcode12" value="Shadow" style="width: 55px" onClick="bbstyle(12)" /> </td> </tr> </table> <table border="0" cellspacing="0" cellpadding="1" width="300"> <tr> <td> <input type="button" class="bbcbutton" accesskey="w" name="addbbcode27" value="URL" style="text-decoration: underline; width: 40px" onClick="bbstyle(27)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="e" name="addbbcode29" value="Email" style="width: 50px" onClick="bbstyle(29)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="q" name="addbbcode21" value="Quote" style="width: 50px" onClick="bbstyle(21)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="" name="addbbcode14" value="Glow" style="width: 40px" onClick="bbstyle(14)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="" name="addbbcode31" value="Flash" style="width: 50px" onClick="bbstyle(31)" /> </td> <td> <input type="button" class="bbcbutton" accesskey="p" name="addbbcode25" value="Img" style="width: 40px" onClick="bbstyle(25)" /> </td> </tr> </table> <table border="0" cellspacing="0" cellpadding="2"> <tr> <td nowrap> <select class="select" name="addbbcode34" onChange="bbfontstyle('[color=' + this.form.addbbcode34.options[this.form.addbbcode34.selectedIndex].value + ']','[/color]');this.form.addbbcode34.selectedIndex=0;"> <option style="color:black; background-color: #FAFAFA" value="black" >Font colour</option> <option style="color:black; background-color: #FAFAFA" value="#444444" >Default</option> <option style="color:darkred; background-color: #FAFAFA" value="darkred" >Dark Red</option> <option style="color:red; background-color: #FAFAFA" value="red" >Red</option> <option style="color:orange; background-color: #FAFAFA" value="orange" >Orange</option> <option style="color:brown; background-color: #FAFAFA" value="brown" >Brown</option> <option style="color:yellow; background-color: #FAFAFA" value="yellow" >Yellow</option> <option style="color:green; background-color: #FAFAFA" value="green" >Green</option> <option style="color:olive; background-color: #FAFAFA" value="olive" >Olive</option> <option style="color:cyan; background-color: #FAFAFA" value="cyan" >Cyan</option> <option style="color:blue; background-color: #FAFAFA" value="blue" >Blue</option> <option style="color:darkblue; background-color: #FAFAFA" value="darkblue" >Dark Blue</option> <option style="color:indigo; background-color: #FAFAFA" value="indigo" >Indigo</option> <option style="color:violet; background-color: #FAFAFA" value="violet" >Violet</option> <option style="color:white; background-color: #FAFAFA" value="white" >White</option> <option style="color:black; background-color: #FAFAFA" value="black" >Black</option> </select> <select class="select" name="addbbcode35" onChange="bbfontstyle('[size=' + this.form.addbbcode35.options[this.form.addbbcode35.selectedIndex].value + ']','[/size]');this.form.addbbcode35.selectedIndex=0;"> <option value="" >Font size</option> <option value="7" >Tiny (7px)</option> <option value="9" >Small (9px)</option> <option value="10" >Medium (10px)</option> <option value="12" >Normal (12px)</option> <option value="16" >X-Large (16px)</option> <option value="18" >Large (18px)</option> <option value="24" >Huge (24px)</option> </select> <select class="select" name="addbbcode36" onChange="bbfontstyle('[font=' + this.form.addbbcode36.options[this.form.addbbcode36.selectedIndex].value + ']','[/font]');this.form.addbbcode36.selectedIndex=0;"> <option value="" >Font face</option> <option value="Arial" >Arial</option> <option value="Courier New" >Courier New</option> <option value="Helvetica" >Helvetica</option> <option value="Impact" >Impact</option> <option value="sans-serif" >sans-serif</option> <option value="Tahoma" >Tahoma</option> <option value="Times New Roman" >Times New Roman</option> <option value="Verdana" >Verdana</option> </select> </td> </tr><tr> <td> <a href="javascript:bbstyle(-1)" onMouseOver="helpline('a')">{lang_close_tags}</a> </td> </tr> </table> </td> </tr> </table> </td> </tr></table>
no it isn´t... )o: