From 4ed753c86d444eba97de72fc56b817e2b0c9afbb Mon Sep 17 00:00:00 2001 From: "CHIEFSOFT\\ameye" Date: Mon, 30 Sep 2024 21:43:13 -0400 Subject: [PATCH] Learn more stuffs --- www-api/app/Controllers/WrenchFaq.php | 45 +++++++++++++++++---------- 1 file changed, 29 insertions(+), 16 deletions(-) diff --git a/www-api/app/Controllers/WrenchFaq.php b/www-api/app/Controllers/WrenchFaq.php index ce3b0915..d513a3f8 100644 --- a/www-api/app/Controllers/WrenchFaq.php +++ b/www-api/app/Controllers/WrenchFaq.php @@ -64,23 +64,36 @@ class WrenchFaq extends BaseController "contents" => $msgS ); - for ($i = 0; $i < $total; $i++) { + $msgS = "
+ Playground +
+ +
+ 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.
"; + $data["result_list"][] = array( + "uid" => '0000-0000-0000-000 A4', + "topic" => "Playground", + "contents" => $msgS + ); - $msg=''; - $msgS = "
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.
"; - - $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 = "
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.
"; +// +// $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 ); }