From a1d2d486dc66ef10e8a26249e598eaf0670b2c9b Mon Sep 17 00:00:00 2001 From: Antonio Gallo Date: Mon, 5 Dec 2011 18:42:44 +0000 Subject: prepared the system for mobile version --- h-source/Application/Views/Desktop/Search/form.php | 111 +++++++++++++++++++++ .../Views/Desktop/Search/lspci_results.php | 108 ++++++++++++++++++++ .../Application/Views/Desktop/Search/results.php | 87 ++++++++++++++++ 3 files changed, 306 insertions(+) create mode 100644 h-source/Application/Views/Desktop/Search/form.php create mode 100644 h-source/Application/Views/Desktop/Search/lspci_results.php create mode 100644 h-source/Application/Views/Desktop/Search/results.php (limited to 'h-source/Application/Views/Desktop/Search') diff --git a/h-source/Application/Views/Desktop/Search/form.php b/h-source/Application/Views/Desktop/Search/form.php new file mode 100644 index 0000000..22650f5 --- /dev/null +++ b/h-source/Application/Views/Desktop/Search/form.php @@ -0,0 +1,111 @@ + + +. +?> + + + +
+ +
+ ">Home » +
+ +
+ : +
+ +
+
+ +
+ +
+ + + + + + + + + +
:
:
+
+
+ +
+
+ vendorid:productid +
+
" method="POST"> + + + + + + + + +
:
+
+
+ +
+
+ +
+
" method="POST"> + + + + + + + + +
:
lspci -vmmnn
+
+
+
diff --git a/h-source/Application/Views/Desktop/Search/lspci_results.php b/h-source/Application/Views/Desktop/Search/lspci_results.php new file mode 100644 index 0000000..b74867b --- /dev/null +++ b/h-source/Application/Views/Desktop/Search/lspci_results.php @@ -0,0 +1,108 @@ + + +. +?> + +
+ +
+ ">Home » "> » +
+ +
+ : +
+ +
+ + + +
+ "> +
+ + +
+ 0) { ?> +
+ : +
+ + + +
+
+ ".$row['hardware']['type']." - ".$row['hardware']['model']."";?> +
+
+ ".gtext($row['hardware']['wifi_works']).""; + break; + case 'videocard': + echo gtext("does it work with free software?"). " ".gtext(Videocard::$videoReverse[$row['hardware']['video_card_works']]).""; + break; + case 'soundcard': + echo gtext("does it work with free software?"). " ".gtext($row['hardware']['sound_card_works']).""; + break; + case 'ethernet-card': + echo gtext("does it work with free software?"). " ".gtext($row['hardware']['ethernet_card_works']).""; + break; + case 'acquisition-card': + echo gtext("does it work with free software?"). " ".gtext($row['hardware']['compatibility']).""; + break; + case 'sd-card-reader': + echo gtext("does it work with free software?"). " ".gtext($row['hardware']['sd_card_works']).""; + break; + } + ?> +
+
+ +
+ +
+ 0) { ?> +
+ :
+ +
+ + + +
+
+ ".Hardware::getTypeFromClass($device['classId'])." - ".$device['deviceName'];?> +
+
    +
  • :
  • +
  • :
  • +
+ insert +
+
+
+ +
+
+ +
diff --git a/h-source/Application/Views/Desktop/Search/results.php b/h-source/Application/Views/Desktop/Search/results.php new file mode 100644 index 0000000..b8f3ce3 --- /dev/null +++ b/h-source/Application/Views/Desktop/Search/results.php @@ -0,0 +1,87 @@ + + +. +?> + +
+ +
+ ">Home » "> » +
+ +
+ : +
+ +
+ + +
+
+
:
+
+ +
+
:
+
+ +
+
:
+
+
+
:
+
+
+ + + + + action,'pciid') === 0) { ?> + +
+ +
+
    + $number) { ?> +
  • ">
  • + +
+
+ + +
+ . +
+ + + +
+ + +
+ : +
+ + +
-- cgit v1.2.3