Permalink
Show file tree
Hide file tree
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Browse files
Browse the repository at this point in the history
prevent review sql injection, removed uness
- Loading branch information
1 parent
010cd29
commit 6cf0b5f
Showing
15 changed files
with
95 additions
and
164 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,35 @@ | ||
| <div class="row"> | ||
| <div class="reviews-title"> | ||
| <p></p> | ||
| </div> | ||
| </div> | ||
| <div class="row"> | ||
| <div class="col-md-7"> | ||
| <div class="reviews-content"> | ||
| <?php if(empty($reviews)) { ?> | ||
| <p>No reviews</p> | ||
| <?php } else { foreach ($reviews as $review) { ?> | ||
| <div class="review-header"> | ||
| <p> | ||
| <a href="<?php echo site_url('summoner')."/".$review['fromid'] ?>"><?php echo $review['from_name'] ?></a>: | ||
| <?php if($review['skill1'] != 0) { ?> | ||
| Game-sense-<?php echo $review['skill1'] ?> | ||
| <?php } if($review['skill2'] != 0) { ?> | ||
| Helpful-<?php echo $review['skill2'] ?> | ||
| <?php } if($review['skill3'] != 0) { ?> | ||
| Skillful-<?php echo $review['skill4'] ?> | ||
| <?php } if($review['skill4'] != 0) { ?> | ||
| Delivery-<?php echo $review['skill4'] ?> | ||
| <?php } ?> | ||
| <?php echo $review['created'] ?> | ||
| </p> | ||
| </div> | ||
| <div class="review-body"> | ||
| <?php if($review['message'] != NULL) { ?> | ||
| <p><?php echo $review['message']?></p> | ||
| <?php } ?> | ||
| </div> | ||
| <?php } } ?> | ||
| </div> | ||
| </div> | ||
| </div> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -1,48 +0,0 @@ | ||
| <?php if(empty($games)) { ?> | ||
| <span class="open_sans">No matches have been played</span> | ||
| <?php } ?> | ||
| <?php foreach ($games as $game) { ?> | ||
|
|
||
| <div class="lol-match row"> | ||
| <div class="col-md-9"> | ||
| <table class="table table-condensed"> | ||
| <th class="col-md-1"/> | ||
| <th class="col-md-3"></th> | ||
| <th>Player</th> | ||
| <?php foreach ($game['100'] as $player) { ?> | ||
| <tr> | ||
| <td> | ||
| <?php if(isset($player['championSprite'])) { ?> | ||
| <img src="<?php echo $player['championSprite'] ?>" class="img-responsive" alt="Responsive image"> | ||
| <?php } ?> | ||
| </td> | ||
| <td > | ||
| <div class="lol-match-player-name"> | ||
| <strong><?php echo $player['name'] ?></strong> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| <?php } ?> | ||
| </table> | ||
| <table class="table table-condensed"> | ||
| <th class="col-md-1"/> | ||
| <th class="col-md-3"></th> | ||
| <th>Player</th> | ||
| <?php foreach ($game['200'] as $player) { ?> | ||
| <tr> | ||
| <td> | ||
| <?php if(isset($player['championSprite'])) { ?> | ||
| <img src="<?php echo $player['championSprite'] ?>" class="img-responsive" alt="Responsive image"> | ||
| <?php } ?> | ||
| </td> | ||
| <td > | ||
| <div class="lol-match-player-name"> | ||
| <strong><?php echo $player['name'] ?></strong> | ||
| </div> | ||
| </td> | ||
| </tr> | ||
| <?php } ?> | ||
| </table> | ||
| </div> | ||
| </div> | ||
| <?php } ?> | ||
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters