O`zbekiston respublikasi axborot texologiyalari va kommunikatsiyalarini rivojlantirish vazirligi muhammad al-xorazmiy nomidagi toshkent axborot texnologiyalari universiteti



Download 3,21 Mb.
bet15/20
Sana13.08.2022
Hajmi3,21 Mb.
#846994
1   ...   12   13   14   15   16   17   18   19   20
Bog'liq
эркинова

if(Yii::$app->request->isPost){
if($comment->load( Yii::$app->request->post()) && $comment->save(false)){
return $this->refresh();
};
}
return $this->render('post',[
'post' => $model,
'comment'=>$comment,
'id'=>$model->id,
]);
}

public function actionContact()
{
$model = new FeedbackModel();
if( Yii::$app->request->post()){
if( $model->load(Yii::$app->request->post()) && $model->save()){
return $this->redirect('/site/index');
}
}
return $this->render('contact',['model'=>$model]);
}
public function actionAbout()
{
return $this->render('about');
}
public function actionError()
{
$this->layout = '/empty';
$exception = Yii::$app->errorHandler->exception;
if ($exception !== null) {

return $this->render('error', [
'exception' => $exception
]);
}
}

public function actionDoctors()
{
$doc = Position::find()->select('id')->where(['src'=>'doc'])->asArray()->one();
$docpos = UserPosition::find()->select('user_id')->where(['position_id'=>$doc])->asArray()->all();
$docs = UserProfile::find()->where(['user_id' => $docpos])->limit(4)->all();

return $this->render('doctors',[
'docs' => $docs
]);
}
public function actionDoc($name)
{
$doc = UserProfile::find()->where(['lastname' => $name])->one();
$question = new Questions();
$appt = new Appointment();

if(Yii::$app->request->isPost){
if (Yii::$app->request->post('Questions')) {
if ($question->load(Yii::$app->request->post()) && $question->validate() && $question->save()) {
return $this->refresh();
}
else var_dump($question->errors);exit;
}

if (Yii::$app->request->post('Appointment')) {
if ($appt->load(Yii::$app->request->post()) && $appt->validate() && $appt->save()) {
return $this->refresh();
}
else var_dump($appt->errors);exit;
}
}

return $this->render('doc',[
'doc' => $doc,
'question' => $question,
'model' => $appt,
]);
}
public function actionAppointment()
{
$model = new Appointment();
if(Yii::$app->request->post()){
if ($model->load(Yii::$app->request->post())) {
if ($model->validate() && $model->save()) {
return $this->redirect('/site/index');
}
}
}
return $this->render('appointment',['model'=>$model]);
}
}

use yii\helpers\Url;
$this->title = "ProfMed";
?>








  • data-x="center" data-hoffset="210"
    data-y="170"
    data-customin="x:0;y:0;z:0;rotationX:90;rotationY:0;rotationZ:0;scaleX:1;scaleY:1;skewX:0;skewY:0;opacity:0;transformPerspective:200;transformOrigin:50% 0%;"
    data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
    data-speed="1000"
    data-start="500"
    data-easing="Back.easeInOut"
    data-endspeed="300">PROFMED

    kompaniyasining faoliyati


    data-x="center" data-hoffset="204"
    data-y="290"
    data-customin="x:0;y:0;z:0;rotationX:90;rotationY:0;rotationZ:0;scaleX:1;scaleY:1;skewX:0;skewY:0;opacity:0;transformPerspective:200;transformOrigin:50% 0%;"
    data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
    data-speed="1300"
    data-start="800"
    data-easing="Back.easeInOut"
    data-endspeed="300">- tibbiyotning yangi standartlarini joriy etishga,
    shuningdek, tibbiy mahoratning eng yaxshi an'analari asosida,
    vaqt bilan isbotlangan.



    data-x="center" data-hoffset="12"
    data-y="390"
    data-customin="x:0;y:0;z:0;rotationX:90;rotationY:0;rotationZ:0;scaleX:1;scaleY:1;skewX:0;skewY:0;opacity:0;transformPerspective:200;transformOrigin:50% 0%;"
    data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
    data-speed="1600"
    data-start="1100"
    data-easing="Back.easeInOut"
    data-endspeed="300">" >Bog'lanish


    data-x="center" data-hoffset="180"
    data-y="390"
    data-customin="x:0;y:0;z:0;rotationX:90;rotationY:0;rotationZ:0;scaleX:1;scaleY:1;skewX:0;skewY:0;opacity:0;transformPerspective:200;transformOrigin:50% 0%;"
    data-customout="x:0;y:0;z:0;rotationX:0;rotationY:0;rotationZ:0;scaleX:0.75;scaleY:0.75;skewX:0;skewY:0;opacity:0;transformPerspective:600;transformOrigin:50% 50%;"
    data-speed="1600"

Download 3,21 Mb.

Do'stlaringiz bilan baham:
1   ...   12   13   14   15   16   17   18   19   20




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©hozir.org 2024
ma'muriyatiga murojaat qiling

kiriting | ro'yxatdan o'tish
    Bosh sahifa
юртда тантана
Боғда битган
Бугун юртда
Эшитганлар жилманглар
Эшитмадим деманглар
битган бодомлар
Yangiariq tumani
qitish marakazi
Raqamli texnologiyalar
ilishida muhokamadan
tasdiqqa tavsiya
tavsiya etilgan
iqtisodiyot kafedrasi
steiermarkischen landesregierung
asarlaringizni yuboring
o'zingizning asarlaringizni
Iltimos faqat
faqat o'zingizning
steierm rkischen
landesregierung fachabteilung
rkischen landesregierung
hamshira loyihasi
loyihasi mavsum
faolyatining oqibatlari
asosiy adabiyotlar
fakulteti ahborot
ahborot havfsizligi
havfsizligi kafedrasi
fanidan bo’yicha
fakulteti iqtisodiyot
boshqaruv fakulteti
chiqarishda boshqaruv
ishlab chiqarishda
iqtisodiyot fakultet
multiservis tarmoqlari
fanidan asosiy
Uzbek fanidan
mavzulari potok
asosidagi multiservis
'aliyyil a'ziym
billahil 'aliyyil
illaa billahil
quvvata illaa
falah' deganida
Kompyuter savodxonligi
bo’yicha mustaqil
'alal falah'
Hayya 'alal
'alas soloh
Hayya 'alas
mavsum boyicha


yuklab olish