Advertisement
Guest User

Untitled

a guest
May 22nd, 2017
57
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
PHP 0.63 KB | None | 0 0
  1. <?php
  2. class form {
  3.     public function button($string) {
  4.         $button .= '<a href="#"><div style="float: left; width: 16px; height: 25px; background: url(images/button-left.png);"></div>';
  5.         $button .= '<div style="float: left; height: 25px; background: url(images/button-middle.png) repeat; color: #fff;" onmouseover="this.style.color = \'#2f2f2f\'" onmouseout="this.style.color = \'#fff\'""><div style="padding-top: 5px;">'.$string.'</div></div>';
  6.         $button .= '<div style="float: left; width: 18px; height: 25px; background: url(images/button-right.png);"></div>';
  7.         $button .= '<div style="clear: both;"></div></a>';
  8.         return $button;
  9.     }
  10. }
  11. ?>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement