<commit_before><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title><?php echo $title; ?></title>
    </head>
    <body>
  <?php
  if (!empty($teachers)) {
      $i=0;
      foreach($teachers as $teacher) {

    if ($teacher->name_of_participant !="") {
        echo "<div class='container'>
        <div class='image'><img src='assets/img/images/HP workshop_certificate.jpg' width='1000' height='700'></div>";

  echo "<div class='principal'>" . strtoupper($teacher->name_of_participant) ."</div>&nbsp;";
    $length = strlen($teacher->school_name);
  if($length > 61) {
  echo  "<div class='school_name1'>". strtoupper($teacher->school_name)."</div>";
  
  }else{
    echo "<div class='school_name'>". strtoupper($teacher->school_name). "</div>";
     
  }  
        echo "<div class='certificateno'>Certificate No : "."GSP Capacity Building Workshop/2020/01/0".$teacher->id." </div>
   </div> ";
    }
    }
  }

  ?> 

    </body>
</html>


<style type="text/css">
          @font-face {
  font-family: myFirstFont;
  src: url(18/assets/scriptina/mtcorsva.ttf);
}

body{
  font-family: mtcorsva; font-size: 20px;
} 

.certificateno{ position:absolute; top:633px; left: 10px;}
.principal{ position:relative; text-align: center; top:238px;}
.school_name1{ position:relative; text-align: center; top:225px; font-size: 16px; margin-left: 25px;}
.school_name{ position:relative; text-align: center; top:225px; margin-left: 25px;}
.image{position:absolute; margin-left: -40px; margin-top: -45px;}<commit_msg>Added date code<commit_after><!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
  <title><?php echo $title; ?></title>
    </head>
    <body>
  <?php
  if (!empty($teachers)) {
      $i=0;
      foreach($teachers as $teacher) {

    if ($teacher->name_of_participant !="") {
        echo "<div class='container'>
        <div class='image'><img src='assets/img/images/HP workshop_certificate.jpg' width='1000' height='700'></div>";

  echo "<div class='principal'>" . strtoupper($teacher->name_of_participant) ."</div>&nbsp;";
    $length = strlen($teacher->school_name);
  if($length > 61) {
  echo  "<div class='school_name1'>". strtoupper($teacher->school_name)."</div>";
  
  }else{
    echo "<div class='school_name'>". strtoupper($teacher->school_name). "</div>";
     
  }   echo "<div class='date'>"  . strtoupper($teacher->date). "</div> ";
        echo "<div class='certificateno'>Certificate No : "."GSP Capacity Building Workshop/2020/01/0".$teacher->id." </div>
   </div> ";
    }
    }
  }

  ?> 

    </body>
</html>


<style type="text/css">
          @font-face {
  font-family: myFirstFont;
  src: url(18/assets/scriptina/mtcorsva.ttf);
}

body{
  font-family: mtcorsva; font-size: 20px;
} 
.date{position:relative; text-align: center; top:490px; margin-left: 370px;}
.certificateno{ position:absolute; top:633px; left: 10px;}
.principal{ position:relative; text-align: center; top:238px;}
.school_name1{ position:relative; text-align: center; top:225px; font-size: 16px; margin-left: 25px;}
.school_name{ position:relative; text-align: center; top:225px; margin-left: 25px;}
.image{position:absolute; margin-left: -40px; margin-top: -45px;}
{'fraction_non_alphanumeric': 0.19687691365584814, 'fraction_numerical': 0.031230863441518677, 'mean_word_length': 4.049459041731066, 'pattern_counts': {'":': 0, '<': 57, '<?xml version=': 0, '>': 72, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '134103', 'n_tokens_mistral': 1265, 'n_tokens_neox': 1172, 'n_words': 224}