PluginProbe
SEO Redirection Plugin – 301 Redirect Manager / 8.4
SEO Redirection Plugin – 301 Redirect Manager v8.4
9.19 trunk 4.17 7.1 7.2 7.3 7.4 7.5 7.6 7.7 7.8 7.9 8.1 8.2 8.3 8.4 8.5 8.6 8.7 8.8 8.9 9.1 9.10 9.11 9.12 All 39 releases
seo-redirection / common / controls / cf_wherest.php

cf_wherest.php in SEO Redirection Plugin – 301 Redirect Manager 8.4, at common/controls/cf_wherest.php

91 lines 1.2 KB
No matching file
Up and down to move Enter to open Esc to close
Raw Download Zip
1 <?php
2
3 /*
4 Author: Fakhri Alsadi
5 Date: 16-7-2010
6 Contact: www.clogica.com info@clogica.com mobile: +972599322252
7 */
8
9
10 ///@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
11
12 ///@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
13
14 //// class wherest @@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
15
16 /*
17 A simple class to create Drop down lists easily using PHP
18 ----------------------------------------------------------
19
20 example:
21
22 ----------------------------------------------------------
23
24 $wherest = new wherest();
25
26 $wherest->add_param("and", "binary tawajoh like '%$msn%' ");
27
28 $wherest->add_text( "some text ");
29
30 $wherest->get_statment();
31
32
33
34 */
35
36 ////@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
37
38 if(!class_exists('wherest')){
39 class wherest{
40
41 var $where='';
42
43 function add_param($op , $value)
44
45 {
46 if($this->where == '')
47
48 $this->where=" where " . $value . " ";
49 else
50
51 $this->where= $this->where . " " . $op . " " . $value;
52
53
54 }
55
56
57
58
59
60 function add_text($value)
61 {
62 $this->where=$this->where . $value ;
63 }
64
65
66
67
68
69 function get_statment()
70
71 {
72
73 return $this->where;
74
75 }
76
77
78
79
80
81 }}
82
83
84
85
86
87
88
89
90
91 ?>