$value){ // $tmp = $loop; // $tmp = str_replace("%%% aid %%%",$value['aid'],$tmp); // $tmp = str_replace("%%% a_title %%%",$value['title'],$tmp); // $loop_html .= $tmp; //} //$contents = str_replace("%%% qid %%%",$q_data['qid'],$contents); //$contents = str_replace("%%% title %%%",$q_data['title'],$contents); //$contents = str_replace("%%% LOOP %%%",$loop_html,$contents); output_html_ob($contents); ?>