first commit

This commit is contained in:
2026-04-30 14:38:11 +02:00
commit e22bbde336
1994 changed files with 613950 additions and 0 deletions

View File

@@ -0,0 +1,33 @@
<?php defined('SYSPATH') or die('No direct script access.');
class html extends html_Core {
public static function span_class($text, $class = false)
{
$html = '<span';
$html .= $class ? ' class="'.$class.'">' : '>';
$html .= $text;
$html .= '</span>';
return $html;
}
public static function span_box($text)
{
$html = '<span class="before">&nbsp;</span>';
$html .= $text;
$html .= '<span class="after">&nbsp;</span>';
return $html;
}
public static function tag($name, $content, $attributes = false)
{
$html = '<'. $name;
if($attributes)
{
$html .= $attributes;
}
$html .= '>';
$html .= $content;
$html .= '</'.$name.'>';
return $html;
}
}