Learn more stuffs

This commit is contained in:
CHIEFSOFT\ameye
2024-09-30 21:43:13 -04:00
parent 89564d159b
commit 4ed753c86d
+29 -16
View File
@@ -64,23 +64,36 @@ class WrenchFaq extends BaseController
"contents" => $msgS
);
for ($i = 0; $i < $total; $i++) {
$msgS = "<div style='width: 100%; min-height: 300px; border-radius: 10px; background-color: whitesmoke; padding: 10px;'>
<b>Playground </b>
<br>
<iframe style='width: 100%; min-height: 250px; height: auto' width='100%' src='https://www.youtube.com/embed/GhSxT7rk0y8?si=Q4guiwdl9vBmmQKF' title='YouTube video player' frameborder='0' allow='accelerometer; autoplay; clipboard-write; encrypted-media; gyroscope; picture-in-picture; web-share' referrerpolicy='strict-origin-when-cross-origin' allowfullscreen></iframe>
<br>
Random gibberish text to use in web pages, site templates and in typography demos.
Get rid of Lorem Ipsum forever. A tool for web designers who want to save time. </div>";
$data["result_list"][] = array(
"uid" => '0000-0000-0000-000 A4',
"topic" => "Playground",
"contents" => $msgS
);
$msg='';
$msgS = "<div> Random gibberish text to use in web pages, site templates and in typography demos.
Get rid of Lorem Ipsum forever. A tool for web designers who want to save time. </div>";
$txL = rand(1,5);
for($ii=1; $ii<$txL; $ii++){
$msg = $msg.$msgS;
}
$data["result_list"][] = array(
"uid" => '0000-0000-0000-000'. $i,
"topic" => "Topic ".$i,
"contents" => $msg
);
}
// for ($i = 0; $i < $total; $i++) {
//
// $msg='';
// $msgS = "<div> Random gibberish text to use in web pages, site templates and in typography demos.
// Get rid of Lorem Ipsum forever. A tool for web designers who want to save time. </div>";
//
// $txL = rand(1,5);
// for($ii=1; $ii<$txL; $ii++){
// $msg = $msg.$msgS;
// }
//
// $data["result_list"][] = array(
// "uid" => '0000-0000-0000-000'. $i,
// "topic" => "Topic ".$i,
// "contents" => $msg
// );
// }
return $this->summaryReturnData($in,$data); //json_encode( $final_out );
}