function TfrmLibrary.lpad(data, len: Integer; add: String):String; var i: Integer; tmp: String; begin tmp:=''; for i:=0 to len-Length(IntToStr(Data))-1 do tmp:=tmp+add; Result:=tmp+IntToStr(Data); end;
Look code above…if you can post like this, it’s easy way to show your code a like language syntax. Download here the syntaxhighlighter plugin. Just copy the plugin to /wp-content/plugins/ then in your admin area, choose plugins menu then activated this plugin.
Just wrap code in your post editor [sourcecode language='your code language'] your code here [/sourcecode] then post.
The Language Code for this plugin
cpp, c, c++c#, c-sharp, csharpcssdelphi, pascaljavajs, jscript, javascriptphppy, pythonrb, ruby, rails, rorsqlvb, vb.netxml, html, xhtml, xsltNote: you must open your footer.php which in your theme. And make sure your theme’s footer has `<?php wp_footer(); ?>` somewhere in it, otherwise the JavaScript highlighting files won’t be loaded. If not just put’s the code like this
<font size="2"></div></font><font size="2"><div class="FBG">
<div class="Footer">
<p><strong>Copyright © 2007 - <? bloginfo('name'); ?> - is proudly powered by <a style="text-decoration: none;" href="http://www.wordpress.com/" mce_href="http://www.wordpress.com/">WordPress</a></strong> <br />
Dilectio Theme is created by: <a href="http://designdisease.com/" mce_href="http://designdisease.com/" title="Professional Blog Design">Design Disease</a> brought to you by Smashingmagazine.com <br />
load for <?php echo get_num_queries(); ?> queries. just <?php timer_stop(1); ?> seconds and
<?php erw_print_country("you are from : " ); ?></p>
</div>
</div>
// here code i put and javascript can load
<?php wp_footer();?>
</body>
</html>
Happy try guy’s
You can follow any responses of
Post Your Codeby through RSS 2.0 feed. You can leave a response, i will appreciate if you give the comment, or trackback from your own site.
Please Insert Your Comment