后台增加信息处理函数 方法及用法 :user_AddImgAlt
function user_AddImgAlt($mid,$f,$isadd,$isq,$value,$cs){
    $value=stripSlashes($value);
    $title=stripSlashes($_POST['title']);
    $title=str_replace('"','',$title);
    $zz2="/\<(img|IMG) (.*?)alt=\"(.*?)\"|(.*?)title=\"(.*?)\"(.*?)>/is";
    $text=preg_replace($zz2,"<\\1 \\2\\4>",$value);
    $zz1="/\<(img|IMG) (.*?)>/is";
    $text=preg_replace($zz1,"<\\1 alt=\"{$title}\" title=\"{$title}\" \\2>",$text);
    return $text;
}