Fix File
•
/
home
/
sportsfe...
/
.trash
•
File:
middleside.php.1
•
Content:
<style> .demo-wrap { overflow: hidden; position: relative; } .demo-bg { opacity: 0.2; border-radius: 10px; position: absolute; left: 15%; top: 30%; width: 70%; height: 50%; } .demo-content { position: relative; } </style> <div class="column middleside" style="margin-top:-9px;height: 40vmin;" id="demo-wrap"> <!-- <img class="demo-bg" src="https://sportsfever360.com/wp-content/uploads/2021/04/SF360-Digital-Red-1.png" alt=""> --> <?php $quotient = intval($decoded2->{"latestBowling"}[0]->{"balls"} / 6); $remainder = fmod($decoded2->{"latestBowling"}[0]->{"balls"}, 6); $overs = $quotient . "." . $remainder; ?> <div align="center" style="text-align:center;color:white;font-size:3vmin;font-weight:bold;width: 100%;background: #433ce3;margin-top: 0px;border-radius: 10px 10px 0px 0px;height: 5vmin;display: table;"> <p>BOWLER</p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: red;color:white;" align="center"> <p style="width:100%;margin-top: 1vmin;"> <?php echo strtoupper($decoded2->{"latestBowling"}[0]->{"firstName"} . " " . $decoded2->{"latestBowling"}[0]->{"lastName"}); ?> </p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;" align="center"> <p style="width:100%;margin-top: 1vmin;"> <?php echo $decoded2->{"latestBowling"}[0]->{"runs"} . "-" . $decoded2->{"latestBowling"}[0]->{"wickets"} . " (" . $overs . ")";; ?> </p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;" align="center"> <p style="width:100%;margin-top: 1vmin;"> <?php echo "MAIDEN: " . $decoded2->{"latestBowling"}[0]->{"maidens"}; ?></p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;" align="center"> <p style="width:100%;margin-top: 1vmin;"> <?php echo $overs > 0 ? "ECON: " . number_format($decoded2->{"latestBowling"}[0]->{"runs"} / $overs, 2) : "ECON: 0"; ?></p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;border-radius: 0px 0px 10px 10px;" align="center"> <p style="width:100%;margin-top: 1vmin;">SPEED: -</p> </div> <!-- <div style="font-size:2.3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;border-radius: 0px 0px 10px 10px;" align="center"> <p style="width:100%;">-</p> </div>--> </div> <div class="column middleside" style="margin-top:-9px;height: 40vmin;" id="demo-wrap"> <div align="center" style="text-align:center;color:white;font-size:3vmin;font-weight:bold;width: 100%;background: #433ce3;margin-top: 0px;border-radius: 10px 10px 0px 0px;height: 5vmin;display: table;"> <p>EXTRAS: <?php if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") { echo $decoded->{"data"}->{"innings1"}->{"extras"}->{"b"} + $decoded->{"data"}->{"innings1"}->{"extras"}->{"lb"} + $decoded->{"data"}->{"innings1"}->{"extras"}->{"nb"} + $decoded->{"data"}->{"innings1"}->{"extras"}->{"wd"}; } else { echo $decoded->{"data"}->{"innings2"}->{"extras"}->{"b"} + $decoded->{"data"}->{"innings2"}->{"extras"}->{"lb"} + $decoded->{"data"}->{"innings2"}->{"extras"}->{"nb"} + $decoded->{"data"}->{"innings2"}->{"extras"}->{"wd"}; } ?> </p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;" align="center"> <p style="width:100%;margin-top: 1vmin;"> NO BALLS: <?php if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") { echo $decoded->{"data"}->{"innings1"}->{"extras"}->{"nb"}; } else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "true") { echo $decoded->{"data"}->{"innings2"}->{"extras"}->{"nb"}; } ?> </p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;" align="center"> <p style="width:100%;margin-top: 1vmin;"> WIDES: <?php if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") { echo $decoded->{"data"}->{"innings1"}->{"extras"}->{"wd"}; } else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "true") { echo $decoded->{"data"}->{"innings2"}->{"extras"}->{"wd"}; } ?> </p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;" align="center"> <p style="width:100%;margin-top: 1vmin;"> BYES: <?php if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") { echo $decoded->{"data"}->{"innings1"}->{"extras"}->{"b"}; } else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "true") { echo $decoded->{"data"}->{"innings2"}->{"extras"}->{"b"}; } ?> </p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;" align="center"> <p style="width:100%;margin-top: 1vmin;"> LEG BYES: <?php if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") { echo $decoded->{"data"}->{"innings1"}->{"extras"}->{"lb"}; } else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "true") { echo $decoded->{"data"}->{"innings2"}->{"extras"}->{"lb"}; } ?> </p> </div> <div style="font-size:3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;border-radius: 0px 0px 10px 10px;" align="center"> <p style="width:100%;margin-top: 1vmin;">P-RUNS: <?php if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "false") { echo $decoded->{"data"}->{"innings1"}->{"extras"}->{"pn"}; } else if ($LTdecoded->{"data"}->{"values"}->{"isSecondInningsStarted"} === "true") { echo $decoded->{"data"}->{"innings2"}->{"extras"}->{"pn"}; } ?> </p> </div> <!-- <div style="font-size:2.3vmin;font-weight:bold;display: flex;height: 6vmin;background: beige;border-radius: 0px 0px 10px 10px;" align="center"> <p style="width:100%;">-</p> </div> --> </div>
•
Search:
•
Replace:
Function
Edit by line
Download
Information
Rename
Copy
Move
Delete
Chmod
List