Changeset 9458 for trunk/MagicSoft/Mars/datacenter/db/plotinclude.php
- Timestamp:
- 06/16/09 13:22:10 (16 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/datacenter/db/plotinclude.php
r9150 r9458 73 73 $stop1=$_GET["Stop"]; 74 74 75 if (empty($_GET["fSourceN"])) 76 $_GET["fSourceN"]=""; 77 $source=$_GET["fSourceN"]; 78 75 79 $query="SELECT " . $table . "." . $primary . ", "; 76 80 if ($column==$primary) … … 99 103 $query.=$joins[$primary]; 100 104 105 if (!empty($source)) 106 $query.= " LEFT JOIN Source USING(fSourceKEY) "; 107 101 108 if (!empty($primstart)) 102 109 $query.= " WHERE " . $table . "." . $primary . " > " . $primstart; … … 155 162 $query.= CheckQuery($query) . GetTable($table, $column4) . " < " . $stop4; 156 163 164 if (!empty($source)) 165 $query.= CheckQuery($query) . " fSourceName REGEXP \"^" . $_GET["fSourceN"] . "\" "; 166 157 167 return $query; 158 168 }
Note:
See TracChangeset
for help on using the changeset viewer.