<div class="container-fluid"> <div class="row"> <div id="result" class="col-md-4"> </div> </div> <form class="form-horizontal" id="data"> <fieldset> <h4><?= $lang["title"] ?></h4> <!-- Text input--> <div class="form-group"> <label class="col-lg-4 control-label" for="name" required="" data-toggle="tooltip" data-placement="right" title="<?= $lang["recured"] ?>" autocomplete="off"><?= $lang["name"] ?></label> <div class="col-lg-8"> <input id="name" name="name" type="text" placeholder="<?= $lang["namepl"] ?>" class="form-control input-md" required=""> </div> </div> <!-- Text input--> <div class="form-group"> <label class="col-lg-4 control-label" for="email" data-toggle="tooltip" data-placement="right" title="<?= $lang["recured"] ?>"><?= $lang["email"] ?></label> <div class="col-lg-8"> <input id="mail" name="mail" type="email" onkeyup="check();" placeholder="<?= $lang["emailpl"] ?>" class="form-control input-md" required="" autocomplete="off"> </div> </div> <!-- Text input--> <div class="form-group"> <label class="col-lg-4 control-label" for="phone"><?= $lang["phone"] ?></label> <div class="col-lg-8"> <input id="phone" name="phone" type="tel" placeholder="<?= $lang["phonepl"] ?>" class="form-control input-md"> </div> </div> <!-- File Button --> <div class="form-group"> <label class="col-lg-4 control-label" for="files" data-toggle="tooltip" data-placement="right" title="<?= $lang["phototp"] ?>"><?= $lang["photo"] ?> <span class="glyphicon glyphicon-question-sign" aria-hidden="true"></span></label> <div class="col-lg-8"> <input id="files" name="files[]" class="input-file" type="file" accept=".zip,.rar,image/*" multiple="multiple"> </div> </div> <!-- Textarea --> <div class="form-group"> <label class="col-lg-4 control-label" for="message"><?= $lang["mess"] ?></label> <div class="col-lg-8"> <textarea class="form-control input-md" id="message" name="message" placeholder="<?= $lang["messpl"] ?>"></textarea> </div> </div> <!-- Button --> <div class="form-group"> <label class="col-lg-4 control-label" for="singlebutton"></label> <div class="col-lg-8"> <button type="submit" id="send" class="btn btn-success" disabled="disabled"><?= $lang["send"] ?> <span class="glyphicon glyphicon-send" aria-hidden="true"></span></button> </div> </div> </fieldset> </form> </div> <script src="/form/js/script.js"></script> <script src="/form/js/tooltip.js"></script>
Вот в него и добавьте <?php include('путь_к_файлу/config.php'); ?>
Не пойдет — в main попробуйте добавить.