?> গতকাল<br> » <?php echo bn2enNumber($vcount['week_value']); ?> সপ্তাহ<br> » <?php echo bn2enNumber($vcount['month_value']); ?> মাস<br> » <?php echo bn2enNumber($vcount['year_value']); ?> বছর<br> » <?php echo bn2enNumber($vcount['all_value']); ?> মোট </p> </div> <div class="col-lg-3 col-md-5 col-sm-12 col-xs-12"> <h3 style="color: #727272">ফেসবুক</h3> <div class="fb-page" data-href="https://www.facebook.com/pages/Pakutia-Public-School-College/256126211110707" data-width="260" data-small-header="true" data-adapt-container-width="true" data-hide-cover="false" data-show-facepile="true" data-show-posts="false"><div class="fb-xfbml-parse-ignore"><blockquote cite="https://www.facebook.com/pages/Pakutia-Public-School-College/256126211110707"><a href="https://www.facebook.com/pages/Pakutia-Public-School-College/256126211110707">Pakutia Public School & College</a></blockquote></div></div> </div> <!-- --> </div> <div class="clear"></div> <div class="copyright">কপিরাইট © ২০১৫ পাকুটিয়া পাবলিক স্কুল এন্ড কলেজ । কারিগরী সহায়তা <a href="http://www.ideatweaker.com/" target="_blank">আইডিয়া টুইকার</a></div> </div>
?> </td> <td><?php echo $notice['noticetitle']; ?> </td> <td> <?php $description = $notice['noticedescription']; $newsid = $notice['noticeid']; echo readMore($description, 200, "notice/" . $newsid, "বিস্তারিত"); ?> </td> <td><?php echo bn2enNumber($notice['publishdate']); ?> </td> <td class="thDownload"> <?php $note = $notice['attachment']; if ($note) { echo fileIcon($note); } ?> </td> </tr> <?php } ?>
function searchstudentajax() { error_reporting(0); $class = $this->input->post('class', true); $section = $this->input->post('section', true); //echo $section; $where = array('class' => $class, 'section' => $section); $malewhere = array('class' => $class, 'section' => $section, 'gender' => 'Male'); $felalewhere = array('class' => $class, 'section' => $section, 'gender' => 'Female'); $total = bn2enNumber($this->common_model->getNumRows($this->common_model->_students, $where)); $male = bn2enNumber($this->common_model->getNumRows($this->common_model->_students, $malewhere)); $female = bn2enNumber($this->common_model->getNumRows($this->common_model->_students, $felalewhere)); $allStudents = $this->common_model->getAllRecordsWhere($this->common_model->_students, $where); $malestudents = $this->common_model->getAllRecordsWhere($this->common_model->_students, $malewhere); //print_r($malestudents); foreach ($malestudents as $malestudent) { /* $singleData .= "<li id='" . $malestudent->studentid . "'> <div class='stdnInfo'> <div class='stdnInfoLeft'> <span class='imageWrap'> <img src='" . base_url() . "uploads/students/" . $malestudent->photo . " '> </span> </div> <div class='stdnInfoRight'> <p class='name'>Name: $malestudent->firstname</p> <p class='roll'>Roll: $malestudent->classroll</p> <p class='roll'>Gender: $malestudent->gender</p> </div> <div class='viewDetails'> <a href='" . base_url() . "studentinfo/" . $malestudent->studentid . "'>View Details</a> </div> </div> </li>";*/ $singleData .= "<li>\n <div class='studentChange'>\n <a href='http://localhost/smartcampus/studentinfo/4'>\n <img src='" . base_url() . "uploads/students/" . $malestudent->photo . " '>\n <span>\n নাম: {$malestudent->firstname}<br>\n রোলঃ: {$malestudent->classroll}<br>\n শ্রেণী: {$malestudent->gender}\n </span>\n </a>\n </div>\n </li>"; } //$studentPara = "<div class='col-lg-12 countresult'><p style='color:#003a6a; text-align: right; float: right; width:100%;'><b>মোট: " . $total . ", ছাত্র: " . $male . ", ছাত্রী: " . $female . "</b><br /></p>"; $studentCounter = "<b>মোট: " . $total . ", ছাত্র: " . $male . ", ছাত্রী: " . $female . "</b>"; if ($singleData) { $this->status['status'] = 1; $this->status['msg'] = $singleData; $this->status['stdcount'] = $studentCounter; } else { $this->status['status'] = 0; $this->status['msg'] = "No Student Found."; } echo jsonEncode($this->status); }
<li><span class="stdnSingleSpanLeft">বিভাগ</span> <span class="stdnSingleSpanRight"><?php echo $singlestudent['stdgroup']; ?> </span> </li> <li><span class="stdnSingleSpanLeft">ক্লাস রোল</span> <span class="stdnSingleSpanRight"><?php echo $singlestudent['classroll']; ?> </span> </li> <li><span class="stdnSingleSpanLeft">জন্ম তারিখ</span> <span class="stdnSingleSpanRight"> <?php echo bn2enNumber($singlestudent['birthdate']); ?> </span> </li> <li><span class="stdnSingleSpanLeft">স্থায়ী ঠিকানা</span> <span class="stdnSingleSpanRight"><?php echo $singlestudent['mailingaddress']; ?> </span> </li> </ul> </div> </div> </div> </div> </div>
?> </td> <td><?php echo $news['newstitle']; ?> </td> <td> <?php $description = $news['newsdescription']; $newsid = $news['newsid']; echo readMore($description, 200, "notice/" . $newsid, "বিস্তারিত"); ?> </td> <td><?php echo bn2enNumber($news['publishdate']); ?> </td> </tr> <?php } ?> </tbody> </table> <?php } ?> </div> </div> <?php