Differences

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

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
faq-and-tools:start [2017/09/04 12:45] juraschekfaq-and-tools:start [2025/10/24 07:55] (current) fachet
Line 1: Line 1:
-====== FAQ and Tools ====== +====== Tools ====== 
-<php> +  [[tools:|Tools]]: Teamviewer QuickSupport, SSH Client, VPN Clients, etc. 
-$columns = 3; +====== List of FAQ ====== 
-$tablestyle = "text-align:center;"; +<nspages faq -title -exclude -nbCol=2 -textPages="">
-$tdstyle = "text-align:center; border-top:1px solid white; border-left:1px solid white; border-right: 10px solid white; border-bottom: 10px solid white; background-color:rgba(228,226,82,0.8); width:33%"; +
-$image = "http://placehold.it/200x50"; +
-$items = array(   +
-    array("/faq/faq", $image, "Frequently Asked Questions", "FAQs and their answers"), +
-    array("/tools/tools", $image, "Tools", "Teamviewer QuickSupport, SSH Client, VPN Clients, etc") +
-); +
-echo "<table style='$tablestyle'>\n"; +
-foreach ($items as $key=>$item) { +
-    echo ($key % $columns == 0) ? "<tr>" : ""; +
-    echo "<td style='$tdstyle'>"+
-    // "<p style='margin:8px;'><a href='$item[0]'><img src='$item[1]' title='$item[2]'></a></p>" . +
-    "<p style='margin:8px; font-weight: bold;'><a href='$item[0]'>$item[2]</a></p>"+
-    "<p style='margin:8px;'>$item[3]</p></td>\n"+
-    echo ($key % $columns == $columns-1) ? "</tr>\n" : ""; +
-+
-echo "</table>\n";+
  
  
-</php>