Changeset 3117089
- Timestamp:
- 07/12/2024 02:45:42 PM (21 months ago)
- Location:
- easy-bet/trunk
- Files:
-
- 3 edited
-
easybet.php (modified) (1 diff)
-
easybet_admin.php (modified) (6 diffs)
-
readme.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
easy-bet/trunk/easybet.php
r3101722 r3117089 4 4 Plugin URI: easybet.foxskav.pl 5 5 Description: Bet with Your friends matches. Typuj ze znajomymi wyniki meczy. 6 Version: 1.0. 66 Version: 1.0.7 7 7 Author: Foxskav 8 8 Author URI: foxskav.pl -
easy-bet/trunk/easybet_admin.php
r3100584 r3117089 94 94 public function easybet_select_team($id) 95 95 { 96 global $wpdb; 96 97 $query = $wpdb->prepare("SELECT id,name,logo from " . $this->tableteams . " 97 98 WHERE id = %d", $id); … … 101 102 public function easybet_select_stage($id) 102 103 { 104 global $wpdb; 103 105 $query = $wpdb->prepare("SELECT id, name from " . $this->tablestages . " 104 106 WHERE id = %d", $id); … … 108 110 public function easybet_select_league($id) 109 111 { 112 global $wpdb; 110 113 $query = $wpdb->prepare("SELECT id, name from " . $this->tableleagues . " 111 114 WHERE id = %d", $id); … … 115 118 public function easybet_select_place($id) 116 119 { 120 global $wpdb; 117 121 $query = $wpdb->prepare("SELECT city, stadion from " . $this->tableplaces . " 118 122 WHERE id = %d", $id); … … 130 134 public function easybet_betsall() 131 135 { 136 global $wpdb; 132 137 $query = "SELECT ft.id_match, ft.id_user, ft.w_p1, ft.w_p2, u.display_name as user_nicename from " . $this->tablebets . " ft 133 138 Left join ". $this->tableusers ." u ON ( ft.id_user = u.ID ) … … 138 143 public function deleteAll() 139 144 { 145 global $wpdb; 140 146 $sql = "TRUNCATE TABLE " . $this->tableName; 141 147 $this->wpdb->query($sql); -
easy-bet/trunk/readme.txt
r3105959 r3117089 20 20 [Theme for Euro 2024](https://easybet.foxskav.pl/euro2024_easybet_theme.zip)<br/> 21 21 <br/> 22 [Theme for WC 2022 2020](https://easybet.foxskav.pl/wc2022_easybet_theme.zip)<br/>22 [Theme for WC 2022](https://easybet.foxskav.pl/wc2022_easybet_theme.zip)<br/> 23 23 <br/> 24 24 [Theme for Euro 2020](https://easybet.foxskav.pl/euro2020_easybet_theme.zip)<br/>
Note: See TracChangeset
for help on using the changeset viewer.