start

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
start [2025/04/21 07:40] – [Júne's Wikistation] Júne Parkstart [2025/04/29 01:03] (current) – [─ Que to do] Júne Park
Line 2: Line 2:
  
 <php> <php>
-$min = 1                  // Minimum image number +$min = 10
-$max = 10                 // Maximum image number+$max = 38; 
 +$rand = rand($min, $max);
  
-$randomNumber = rand($min, $max);+// Build wiki image syntax 
 +$syntax "{{:wiki:fb_covers_{$rand}_.png?nolink|}}";
  
-// Output the image HTML +// Use p_render to parse DokuWiki syntax into HTML 
-echo "{{:wiki:fb_covers_$randomNumber_.png?nolink|}}";+global $ID; 
 +$instructions = p_get_instructions($syntax); 
 +$rendered = p_render('xhtml', $instructions, $info); 
 + 
 +// Output the rendered HTML 
 +echo $rendered;
 </php> </php>
  
  
-<text type="warning">🧐 **Júne's {{fa>wikipedia-w?color=#cf8d2e}}ikistation**</text> is a {{mdi>collage?18&color=#005670}} collective platform to organize and manage personal & private information of Júne's. This {{fa>wikipedia-w}}iki is also for providing practical manuals {{mdi>book-multiple-variant?18&color=#0c3866}} of **<text type="danger">operating working machines</text>** and **<text type="success">solving technical problems</text>**.  {{fa>refresh?fa-spin&color=#caccd1}} ~~NOCACHE~~  <php> echo $_SERVER['REMOTE_ADDR']; echo ' with <sub>'; echo $_SERVER['HTTP_USER_AGENT']; echo '</sub>';</php>+<text type="warning">🧐 **Júne's {{fa>wikipedia-w?color=#cf8d2e}}ikistation**</text> is a {{mdi>collage?18&color=#005670}} collective platform to organize and manage personal & private information of Júne's. This {{fa>wikipedia-w}}iki is also for providing practical manuals {{mdi>book-multiple-variant?18&color=#0c3866}} of **<text type="danger">operating working machines</text>** and **<text type="success">solving technical problems</text>**.  {{fa>refresh?fa-spin&color=#caccd1}} ~~NOCACHE~~  <php> 
 +$ip = $_SERVER['REMOTE_ADDR']; echo "<b>$ip</b>"; </php>
  
 ---- ----
Line 41: Line 49:
  
 </panel> </panel>
 +
 </accordion> </accordion>
 +
 +
 ---- ----
  
  • start.1745221230
  • Last modified: 2025/04/21 07:40
  • by Júne Park