<?php

if (isset($id_record)) {
    $records = $dbo->fetchArray('SELECT * FROM zz_smtp WHERE id='.prepare($id_record).' AND deleted = 0');
}