Jump to content

fonrob1

New Members
  • Posts

    2
  • Joined

  • Last visited

fonrob1's Achievements

Newbie

Newbie (1/5)

0

Reputation

  1. yes, code will not display the last line of code. I have attached the complete file. there should be a button at the bottom of the page that says previous and next. this works fine until I added new ESB code I have also attached file that works. _old view_batch_status_daily.php view_batch_status_daily_old.php
  2. can someone help me figure out why my code will not see the last line eg echo '<div class="div-center">'.$prev_button.$next_button.'</div>'; <h2>5.0 ESB Interface Failures (Total: '.$num_esb.')</h2> <hr/>'; } if($num_esb > '0') { echo '<table class="data" style="margin-bottom:50px;"> <tr> <th style="width:6%"> Ticket </th> <th style="width:8%"> Date </th> <th style="width:6%"> Time </th> <th style="width:8%"> Schedule </th> <th style="width:40%"> ESB Process </th> <th style="width:6%"> Critical </th> <th style="width:6%"> Restarted </th> <th style="width:6%"> Completed </th> <th style="width:7%"> Type </th> <th style="width:5%"> Operator </th> </tr>'; WHILE($row3 = MYSQL_FETCH_ARRAY($esbresult)) { $abendid = $row3['ID']; $date_start = $row3['Abend_Date']; $ticket = $row3['Ticket']; $time_start = SUBSTR($row3['Abend_Time'], 0, 5); $batch_schedule = $row3['Batch_Schedule']; $esb_process = $row3['esb_process']; $request_details = NL2BR($row3['Error']); $resolution = NL2BR($row3['Resolution']); $created_username = $row3['Created_Username']; $created_timestamp = $row3['Created_Timestamp']; $edited_username = $row3['edited_username']; $edited_timestamp = $row3['edited_timestamp']; $critical = $row3['Critical']; $restarted = $row3['Restarted']; $resolved = $row3['Resolved']; $cause = $row3['Failure_Type']; $criticalcolor = $critical == 'Y' ? '#C12603' : '#01C425'; $restartedcolor = $restarted == 'N' ? '#C12603' : '#01C425'; $resolvedcolor = $resolved == 'N' ? '#C12603' : '#01C425'; $restartedcolor = $restarted == 'N' ? '#C12603' : '#01C425'; $altcolor = $altcolor == 'rowcolor2' ? 'rowcolor1' : 'rowcolor2'; echo '<tr class="'.$altcolor.'"> <td class="text_center">'.$ticket.'</td> <td class="text_center">'.$date_start.'</td> <td class="text_center">'.$time_start.'</td> <td class="text_center"><a href="index.php?p=10&date='.$batch_schedule.'" title="Go to batch schedule">'.$batch_schedule.'</a></td> <td class="text_left"> <a href="index.php?p=58&id='.$abendid.'">'.$esb_process.'</a><br/><a href="index.php?p=58&id='.$abendid.'"></a></td> <td class="text_center" style="background-color:'.$criticalcolor.'">'.$critical.'</td> <td class="text_center" style="background-color:'.$restartedcolor.'">'.$restarted.'</td> <td class="text_center" style="background-color:'.$resolvedcolor.'">'.$resolved.'</td> <td class="text_center">'.$cause.'</td> <td class="text_center">'.$created_username.'</td> </tr>'; } echo '</table> <hr/>'; echo '<div class="div-center">'.$prev_button.$next_button.'</div>'; } ?>
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.