/ Published in: PHP
                    
                                        
run this from plugins/emotions and copy/paste the output to emotions.htm
                
                            
                                Expand |
                                Embed | Plain Text
                            
                        
                        Copy this code and paste it in your HTML
<?php
$i = 0;
$width = $imagesizes[0];
$height = $imagesizes[1];
echo " <td><a href=\"javascript:EmotionsDialog.insert('$file','$file-0');\"><img src=\"img/$file\" width=\"$width\" height=\"$height\" border=\"0\" alt=\"{#$file-0}\" title=\"{#$file-0}\" /></a></td>"."\n";
if( $i%4 == 0 ) {
echo '</tr>';
}
if( ($i+4)%4 == 0 ) {
echo '<tr>'."\n";
}
$i++;
}
?>
Comments
 Subscribe to comments
                    Subscribe to comments
                
                