Tweaking Afterlogic Webmail Pro 6 Rumi, November 6, 2011 Removed the default footer texts and added up usermin module like this 😉 in inc.footer.php file- <!– Powered by <a href="http://www.afterlogic.com/products/webmail-pro" target="_blank"> AfterLogic WebMail Pro</a><br /> Copyright © 2002-2010 <a href="http://www.afterlogic.com" target="_blank">AfterLogic Corporation</a> –> <?php $domain= $_SERVER['SERVER_NAME']; echo ":: CLICK BELOW LINK TO :: <BR /> <a href= https://$domain:20000>Change Password… Continue Reading
Redirect site using a .htaccess file Rumi, November 6, 2011 Instructions Create an empty text file using a text editor such as notepad, and save it as htaccess.txt. Edit the contents of the file. Check the following examples: Point an entire site to a different URL, such as domain.net redirected to domain.com: # This allows you to redirect your entire… Continue Reading
Auto-centering Popup Window Rumi, July 8, 2011July 8, 2011 Step 1: Insert the below inside the <head> section of your page: <script language="javascript"> /* Auto center window script- Eric King (http://redrival.com/eak/index.shtml) Permission granted to Dynamic Drive to feature script in archive For full source, usage terms, and 100's more DHTML scripts, visit http://dynamicdrive.com */ var win =… Continue Reading
Table alternate row background color using javascript Rumi, July 4, 2011January 12, 2016 The code itself speaks….!!! <html> <head> <title>Alternative table row color using javascript.</title> <script language=”javascript”> function setcolor() { var tbl = document.getElementById(“tblCountry”); tbl.style.color = “white”; tbl.rows[0].style.backgroundColor = “green”; for (var i = 1; i < tbl.rows.length; i++) { if (i % 2 == 0) tbl.rows[i].style.backgroundColor = “gray”; else tbl.rows[i].style.backgroundColor = “brown”; } } </script> </head> <body onload=”setcolor();”> <table align=”center” width=”300px” id=”tblCountry”> <tr> <th> Country </th> </tr> <tr> <td> Australia </td> </tr> <tr> <td> China </td> </tr> <tr> <td> Denmark </td> </tr> <tr> <td> India </td> </tr> <tr> <td>… Continue Reading
Create logout link in WordPress Rumi, January 11, 2011 To create your own proper WordPress logout (or sign out) link, you need PHP. PHP Default usage <a href="<?php echo wp_logout_url(); ?>" title="Logout">Logout</a> Logout and Redirect to Current Page <a href="<?php echo wp_logout_url( get_permalink() ); ?>" title="Logout">Logout</a> Logout and Redirect to Homepage <a href="<?php echo wp_logout_url( get_bloginfo('url') ); ?>"… Continue Reading
frontaccounting- how to recover admin password Rumi, October 18, 2010 If you manage to forget the admin password for a company in the system, how do you retrieve or reset it? You can reset the admin password for a company by using phpMyAdmin. Enter the company database and find the correct table prefix f.i. 0_users. Edit the user Admin. Paste… Continue Reading
Show all images in a folder with PHP Rumi, September 11, 2010 <?php //Your folder $files = glob(“icons/*.*”); $colCnt=0; echo ‘<table border=”0″ style=”width:590px;”>’; for ($i=1; $i<count($files); $i++) { $colCnt++; if ($colCnt==1) echo ‘<tr>’; echo ‘<td width=”25%” style=”font-size:8.5px; font-family:arial”>’; $num = $files[$i]; echo ‘<img src=”‘.$num.'” align=”absmiddle” /> ‘; print substr(substr($num,6,100),0,-4); echo ‘</td>’; if ($colCnt==4) { echo ‘</tr>’; $colCnt=0; } } echo ‘</table>’; ?> Continue Reading
EOT তৈরির কৌশল Rumi, April 16, 2010April 6, 2013 আমি অনেকদিন থেকেই এটি অনুভব করছিলাম যে, EOT তৈরির ধাপগুলি সঠিকভাবে বর্ণনা করে একটি লেখা তৈরি করবো। আমি দেখেছি অনেকেই সমস্যায় পড়েন। বুঝতে পারেন না কিভাবে এগোবেন। EOT তৈরি করতে পারলেও দেখা যায় তার পারফরমেন্স ভালো না। বুঝতে পারেন না কোথায় সমস্যা হয়েছিলো। আর এই চিন্তা থেকেই এই লেখাটি শুরু… Continue Reading
Vertical CSS menu Rumi, August 16, 2009 In this tutorial you will learn the basics of creating simple vertical menus for your website using only HTML /and CSS. Our menus are actually HTML unordered list elements <ul> styled using CSS, giving them background color, margin, padding and other CSS attributives. Continue Reading
Horizontal CSS menu Rumi, August 16, 2009 1. Let’s begin! Create a new HTML document and save it as cssmenu.html. Although is better to put the CSS code in a external style sheet, in this tutorial we will put the whole CSS code in the HTML file to be easier to follow by readers. Continue Reading