e_skabar
-
Posts
13 -
Joined
-
Last visited
Content Type
Profiles
Forums
Calendar
Store
Posts posted by e_skabar
-
-
ну тогда ставь заглушку где идёт цикл и проверяй почему он останавливается на 2013. Думаю что это просто ошибка того кто этот код писал, человек не ориентировался на изменения значений массива, а тупо поставил количество
А что это за заглушка? И куда эту заглушку то вставить?
-
$allow_month_count = array(6, 9, 12, 24, ... , 120);
просто посмотрел первую строчку и тупо перевёл позволить_месяцев_количество
Да нет, я уже так пробовал. Расчет то выходит, но дальше 2013 года идут только 2013 года. В этом и проблема.
-
Вобщем есть код кредитного калькулятора. Необходимо подставить значения (срок кредита) до 120 месяцев, чтобы производились расчеты. Подскажите пожалуйста кто понимает.
<?php
error_reporting(0);
$allow_month_count = array(6, 9, 12, 24);
$allow_month = array(
1=> 'Январь',
2=> 'Февраль',
3=> 'Март',
4=> 'Апрель',
5=> 'Май',
6=> 'Июнь',
7=> 'Июль',
8=> 'Август',
9=> 'Сентябрь',
10=> 'Октябрь',
11=> 'Ноябрь',
12=> 'Декабрь'
);
$allow_calc = false;
$sum_kredita = '';
$procent = 12;
$month_count = '';
$num_first_month = (int)date('n');;
if (isset($_REQUEST['sum_kredita']) and isset($_REQUEST['procent']) and
isset($_REQUEST['month_count']) and isset($_REQUEST['month_first']) ) {
$sum_kredita = (int)$_REQUEST['sum_kredita'];
if ($sum_kredita < 100000 or $sum_kredita > 100000000) {
$sum_kredita = 100000;
}
$procent = (float)$_REQUEST['procent'];
if ($procent <= 0 or $procent > 100) {
$procent = 12;
}
$month_count = (int)$_REQUEST['month_count'];
$num_first_month = (int)$_REQUEST['month_first'];
$allow_calc = true;
} else {
$allow_calc = false;
}
$srok_opt = '';
foreach ($allow_month_count as $m) {
if ($month_count == $m) {
$srok_opt .= "<option value=\"$m\" selected>$m месяцев</option>";
} else {
$srok_opt .= "<option value=\"$m\">$m месяцев</option>";
}
}
$m_opt = '';
foreach ($allow_month as $k => $m) {
if ($num_first_month == $k) {
$m_opt .= "<option value=\"$k\" selected>$m</option>";
} else {
$m_opt .= "<option value=\"$k\">$m</option>";
}
}
$output = '';
$output .= '<form name="credit" action="" method="post">
Сумма кредита, руб:<br>
<input name="sum_kredita" type="text" value="'. $sum_kredita .'"> (100 000 - ... рублей)<br>
Процентная ставка, %:<br>
<input name="procent" type="text" value="'. $procent .'"> (разделитель дробной части - точка ".", например 11.7)<br>
Срок кредита:<br>
<select size="1" name="month_count">
'. $srok_opt .'
</select><br>
Месяц получения кредита:<br>
<select size="1" name="month_first">
'. $m_opt .'
</select><br><br>
<input type="submit" value="Рассчитать">
</form>';
if ($allow_calc) {
$month = array('01', '02', '03', '04', '05', '06', '07', '08', '09', '10', '11', '12');
//$month = array('янв', 'фев', 'мар', 'апр', 'май', 'июн', 'июл', 'авг', 'сен', 'окт', 'ноя', 'дек');
//текущий год
$year = (int)date('Y', time());
//выплата в месяц без процентов
$pogash_osn_dolga = round($sum_kredita / $month_count);
//выплата за последний месяц
$last_month = $sum_kredita - $pogash_osn_dolga * ($month_count - 1);
//выплаты в месяц
$per_month = array();
$sum_kred_temp = $sum_kredita;
for ($i = 0; $i < $month_count - 1; $i++) {
$per_month[] = $pogash_osn_dolga;
//остаток по месяцам
$osn_dolg[] = $sum_kredita - $pogash_osn_dolga * $i;
}
//выплаты в месяц
$per_month[] = $last_month;
//остаток по месяцам
$osn_dolg[] = $last_month;
//print_r($per_month);
//print_r($osn_dolg);
$first = array_slice($month, 0, $num_first_month - 1);
$last = array_slice($month, $num_first_month - 1);
$first_out = array_slice($month, 0, $num_first_month);
$last_out = array_slice($month, $num_first_month);
$month_order = array_merge($last, $first);
$month_order_out = array_merge($last_out, $first_out);
//порядок по 24 месяцам
$month_order = array_merge($month_order, $month_order);
$month_order_out = array_merge($month_order_out, $month_order_out);
$year_out = $year;
//порядок выплаты кредита по месяцам и годам
$month_kred = array();
$month_kred_out = array();
for ($i = 0; $i <= $month_count - 1; $i++) {
$month_kred[] = array($month_order[$i], $year);
$month_kred_out[] = array($month_order_out[$i], $year_out);
//увеличим год, если декабрь
if ($month_order[$i] == 12) {
$year++;
}
if ($month_order_out[$i] == 12) {
$year_out++;
}
}
//print_r($month_kred);
//print_r($month_kred_out);
//die;
//проверка года на високосность
function is_leap($year = NULL) {
return checkdate(2, 29, ($year == NULL)? date('Y') : $year);
}
//проценты по месяцам
$proc_pogash = array();
$vsego = array();
for ($i = 0; $i < $month_count; $i++) {
(is_leap($month_kred[$i][1])) ? $days_in_year = 366 : $days_in_year = 365;
//количество дней в месяце
$num = cal_days_in_month(CAL_GREGORIAN, $month_kred[$i][0], $month_kred[$i][1]);
$day_month[] = array($num, implode($month_kred_out[$i], '.'));
$proc_pogash_i = Round(($osn_dolg[$i] * ($procent / 100)) / $days_in_year * $num);
$proc_pogash[] = $proc_pogash_i;
$vsego[] = $per_month[$i] + $proc_pogash_i;
}
/*
print_r($proc_pogash);
echo array_sum($proc_pogash);
print_r($vsego);
echo array_sum($vsego);
print_r($day_month);
*/
$output .= '<br><br>';
$output .= sprintf('Сумма кредита: %s рублей; Процентная ставка: %01.2f; Срок: %s мес. ', number_format($sum_kredita, 0, '.', ' '), $procent, $month_count) ;
$output .= '<br><br>';
$out = '<table class="credit">';
$out .= '<tr><th>Месяц</th><th>Кол-во дней</th><th>Остаток основного долга, руб</th><th>Погашение долга, руб</th><th>Процент, руб</th><th>Всего, руб</th></tr>';
for ($i = 0; $i < $month_count; $i++) {
$out .= sprintf('<tr><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td><td>%s</td></tr>',
$day_month[$i][1], $day_month[$i][0], $osn_dolg[$i], $per_month[$i], $proc_pogash[$i], $vsego[$i]);
}
$out .= sprintf('<tr><td colspan="3"><b>Итого:</b></td><td><b>%s</b></td><td><b>%s</b></td><td><b>%s</b></td></tr>',
number_format(array_sum($per_month), 0, '.', ' '), number_format(array_sum($proc_pogash), 0, '.', ' '), number_format(array_sum($vsego), 0, '.', ' '));
$out .= '</table>';
$output .= $out;
}
$tpl = '
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>
<head>
<title>Кредитный калькулятор</title>
<meta http-equiv="Content-Type" content="text/html; charset=Windows-1251">
<style type="text/css">
a:active,a:visited,a:link {
color: #4b719e;
text-decoration:none;
}
a:hover {
color: #4b719e;
text-decoration: underline;
}
.title {
color: #333333;
font-size: 26px;
font-family: georgia;
font-weight: normal;
padding-left: 6px;
}
.text {
font-family:Tahoma;
font-weight:normal;
font-size:12px;
color:#365069;
}
hr {
width: 100%;
height: 1px;
border: 0;
background: #B9D2E2;
color: #B9D2E2
}
table.credit {
width:100%;
border:1px solid #c0c0c0;
background-color:#ffffff;
}
table.credit tr {
background-color:#f8f8f8;
}
table.credit tr:hover {
background-color:#ffffff;
}
table.credit td{
padding:1px;
text-align:right;
}
table.credit th{
border:0px;
color:#333333;
background-color:#D5E7F3;
padding:2px;
text-align:center;
font-size:12px;
}
</style>
</head>
<body>
<table width="750" align="center" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="100%" height="30" align="center" valign="middle" style="border-left: 1px solid #D5E7F3; border-right: 1px solid #D5E7F3; border-top: 1px solid #D5E7F3;" bgcolor="#D5E7F3">
<span class="title">Кредитный калькулятор</span>
</td>
</tr>
</table>
<table width="750" align="center" border="0" cellspacing="1" cellpadding="0" bgcolor="#D5E7F3" class="text">
<tr>
<td>
<table width="100%" border="0" cellspacing="0" cellpadding="0" bgcolor="#f5f8fa"><tr>
<td width="100%" style="padding-top:25px; padding-right:20px; padding-left:20px;" valign="top"><div class="text">
' . $output . '
<br><br><br><br>
<hr>
<a href="http://fil.ya1.ru">Вернуться на главную страницу</a>
</div><br><br><br></td></tr></table>
<table width="100%" cellspacing="0" cellpadding="3" border="0" bgcolor="#F4FBFF" class="text" style="border-top:1px solid #B9D2E2">
<tr>
<td width="50%" nowrap>Шо, Кредиты?</td><td width="100%"> </td>
<td width="50%" nowrap>Да иди ты!</td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
';
echo $tpl;
?>
-
Все! Спасибо Вам всем большое! Получилось!!!... Пойду забухаю
- 1
-
А поподробнее можно?
ты имеешь в виду дополнительно ? или счтоб текущая сменилась на новую , если текущая , то ответ был
Да, чтобы сменилассь на новую.
-
А поподробнее можно?
-
Помогите пожалуйста, просто создаю свой первый сайт и еще многого не знаю. Как сделать чтобы после отправки формы открывалась другая страница?
-
Спасибо! Разобрался!
-
Объясните мне ! Не работает, по всякому уже пробовал! !!!!!
-
Вобщем, проблема как я понимаю не только у меня такая была. Имеется форма (большая) заявки в которую клиент вводит свои данные, но при отправке заявки на ящик приходит только это:
На сайте была сделана заявка.
Тип заявки:
От
Интересует сумма:
Валюта:
Срок:
Цель кредита:
Пол:
Дата рождения:
Семейное положение:
Гражданство:
Регион регистрации:
Город:
Телефон домашний:
Телефон рабочий:
Телефон сотовый:
Телефон дополнительный:
Второй документ:
Сведения о занятости:
Стаж работы на последнем месте: лет месяцев
Основная зарплата:
Премии:
Доход от работы по совместительству:
Доход от сдачи в арендУ:
Прочие доходы:
Справка о доходах:
Наличие кредитов в других банках:
Судимость:
Долги перед банками:
Источник информации о компании ФИНТЕК: Телевидение: Нет Радио: Нет Пресса: Реклама: Интернет: Рекламное сообщение: Автосалон: Друзья: Рекомендации банка: Рекомендации строительной компании: Рекомендации агентства недвижимости: Клиент компании: Другое:
Согласие с условиями о проверке данных:
т.е. приходят пустые поля. Объясните пожалуйста, что не так?
Вот код php:
<?php
if (isset($tv)) {$tv="Да";} else {$tv="Нет";}
if (isset($radio)) {$radio="Да";} else {$radio="Нет";}
if (isset($pressa)) {$radio="Да";} else {$radio="Нет";}
$v = mail("fkfintek@gmail.com","Заявка с сайта","На сайте была сделана заявка.\n Тип заявки: $tip_zayavki \n От $familiya $imya
$otchestvo \n Интересует сумма: $summa \n Валюта: $valuta \n Срок: $srok \n Цель кредита: $celkredita \n Пол: $pol \n Дата
рождения: $birthday \n Семейное положение: $sempol \n Гражданство: $grazhdan \n Регион регистрации: $registr \n Город: $city
\n Телефон домашний: $domashniy \n Телефон рабочий: $work \n Телефон сотовый: $cellphone \n Телефон дополнительный:
$dopphone \n Второй документ: $seconddocument \n Сведения о занятости: $jobs \n Стаж работы на последнем месте: $stag1 лет
$stag2 месяцев \n Основная зарплата: $zarplata \n Премии: $premii \n Доход от работы по совместительству: $sovmestjob \n
Доход от сдачи в арендУ: $arenda \n Прочие доходы: $prochee \n Справка о доходах: $ndfl \n Наличие кредитов в других банках:
$inoicredit \n Судимость: $law \n Долги перед банками: $dolg \n Источник информации о компании ФИНТЕК: Телевидение: $tv
Радио: $radio Пресса: $pressa Реклама: $reklama Интернет: $internet Рекламное сообщение: $reklamamessage Автосалон:
$autosalon Друзья: $friends Рекомендации банка: $bank Рекомендации строительной компании: $stroy Рекомендации агентства
недвижимости: $agentstvo Клиент компании: $klient Другое: $other \n Согласие с условиями о проверке данных:
$реusloviya","Content-type:text/plain; charset = windows-1251\r\n");
if ($v = "true") {echo "Ваша заявка успешно отправлена!";}
?> -
Сорри, забыл
<?php
$v = mail("Почта","Письмо с сайта от пользователя","Здравствуйте. \n Вам пришло письмо от пользователя сайта. \n Его имя: ".$username."\n Его E-Mail: ".$usermail."\n Тема письма: ".$title."\n Письмо: \n ".$lili);
if ($v == "true") {echo "Ваше письмо отправлено администратору.";}
?>То же самое, приходит письмо без данных
//Зря почту свою засветил, тут иногда боты бегают, собирают адреса.Убрал
Используйте $_POST
Спасибо помогло
Такая же проблема. А куда вставить то это $_POST?
-
Это мой первый сайт. Подскажите пожалуйста, как избавится от нижней прокрутки страницы. Всю голову уже сломал. Картинка внизу.
Вот код HTML:
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN""http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>___________________</title>
<meta http-equiv="content-type" content="text/html; charset=windows-1251">
<meta http-equiv="content-style-type" content="text/css">
<meta name="keywords" content="кредит, кредиты, помощь в получении кредита, ипотека, автокредит, лизинг">
<meta name="description" content="_____________________">
<link href='index.css' rel='stylesheet' type='text/css'>
</head>
<body>
<div class='mainframe'>
<div class='header'>
<div class='logofintek'><a href='index.html'><img src='img/logofintek.png'></a></div>
<div class='logo1'>
<img src='img/logophone.png'>
</div>
<div class='phone' align='right'><h3>______________________
<br>________________________
</div>
</div>
<div class='menu1'>
<div align='center'>
<a class='menu' href='index.html'>ГЛАВНАЯ</a><a class='menu' href='page_2.html'>КРЕДИТЫ ФИЗИЧЕСКИМ ЛИЦАМ</a><a class='menu' href='page_3.html'>КРЕДИТЫ ЮРИДИЧЕСКИМ ЛИЦАМ</a><a class='menu' href='contacts.html'>КОНТАКТЫ</a><a class='menu' href='company.html'>О КОМПАНИИ</a>
</div>
</div>
<div class='zayavka'>
<form action='obrabotchikzayavkinakredit.php' method='post' id='form1' align='center'>
<p>ЗАЯВКА НА КРЕДИТ</p>
<label>Ф.И.О.:<br><input type='text' name='name1' size='25'></label>
<br>
<label>Ваш возраст:<br><input type='text' name='age' size='25'></label>
<br>
<label>Сумма:<br><input type='text' name='summa' size='25'></label>
<br>
<label>Адрес регистрации:<br><input type='text' name='address' size='25'></label>
<br>
<label>Номер телефона:<br><input type='text' name='phone' size='25'></label>
<br>
<input type='submit' name='submit1' value='Отправить заявку'>
</form>
</div>
<div class='index_height'>
<div class='urlica'>
<a class='urlica1' href='page_3.html'><img src='img/imageurlica.png'></a>
<br>
<a class='urlica1' href='http://ftfinance/zalogur.html'>Залоговые кредиты</a>
<br>
<a class='urlica1' href='http://ftfinance/overdraft.html'>Овердрафт</a>
<br>
<a class='urlica1' href='http://ftfinance/bizkredit.html'>Кредиты на бизнес</a>
</div>
<div class='podpis1'>Развитие...</div>
<div class='fizlica'>
<a class='fizlica1' href='page_2.html'><img src='img/imagefizlica.png'></a>
<br>
<a class='fizlica1' href='potreb.html'>Потребительские кредиты</a>
<br>
<a class='fizlica1' href='express.html'>Экспресс-кредиты</a>
<br>
<a class='fizlica1' href='auto.html'>Автокредиты</a>
</div>
<div class='podpis'>Счастье...</div>
<div class='calc'>
<div class='kreditkalktext'>
<a class='kreditkalk1' href='kreditcalc.html'>
Кредитный
<br>
калькулятор
</a>
</div>
</div>
<div class='auto'>
<a class='auto1' href='auto.html'><img src='img/imageauto.png'></a>
<br>
<a class='auto1' href='http://ftfinance/autobiz.html'>Автокредит для бизнеса</a>
<br>
<a class='auto1' href='http://ftfinance/faktoring.html'>Факторинг</a>
<br>
<a class='auto1' href='http://ftfinance/tradein.html'>Trade-In</a>
</div>
<div class='podpis3'>Комфорт...</div>
<div class='ipoteka'>
<a class='ipoteka1' href='ipoteka.html'><img src='img/imageipoteka.png'></a>
<br>
<a class='ipoteka1' href='http://ftfinance/ipotekazalog.html'>Ипотечные кредиты под залог</a>
<br>
<a class='ipoteka1' href='http://ftfinance/kommipoteka.html'>Коммерческая ипотека</a>
<br>
<a class='ipoteka1' href='http://ftfinance/kreditned.html'>Кредит на недвижимость</a>
</div>
<div class='podpis2'>Стабильность...</div>
</div>
<div class='line'><img src='img/border_bottom.png'></div>
<div class='copyright'>
_____________________
<br>
______________________
<br>
© 2011 <a class='menu_bottom1' href='index.html'>___________________</a>
</div>
<div class='menu_bottom'>
<div align='left'>
<a class='menu_bottom1' href='index.html'>Главная</a><br>
<a class='menu_bottom1' href='company.html'>О компании</a><br>
<a class='menu_bottom1' href='contacts.html'>Контакты</a><br>
<a class='menu_bottom1' href='contacts.html'>Сотрудничество с нами</a><br>
<a class='menu_bottom1' href='contacts.html'>Реквизиты</a><br>
<a class='menu_bottom1' href='contacts.html'>Задать нам вопрос</a>
<a class='menu_bottom1' href='contacts.html'>Партнеры</a>
</div>
</div>
</body>
</html>
Вот код CSS:
body
{
background-color:#f8f8f8;
padding:0;
margin:0;
}
.mainframe
{
border:0px solid black;
width:970px;
margin:auto; /*сверху, слева/справа, снизу*/
height:750px;
}
.header
{
border:0px solid red;
height:150px;
/*overflow:hidden;*/
background-color:#f8f8f8;
padding:0;
margin:0;
}
.logofintek
{
border:0px solid red;
width:212px;
height:63px;
position:relative;
top:43px;
}
.logo1
{
position:relative;
top:-1px;
right:-770px;
padding:0;
margin:0;
}
.phone
{
width:206px;
border:0px solid blue;
overflow:hidden;
font-family:arial;
color:#424242;
padding:0px;
margin:0px;
position:relative;
left:762px;
top:-54px;
}
.index_height
{
height:750px;
border:0px solid blue;
padding:0;
margin:0;
}
.menu1
{
border:0px solid blue;
overflow:hidden;
height:50px;
background-image:url('img/top_menu.png');
font-size:14px;
line-height:50px;
line-width:50px;
padding:0;
margin:0;
}
.menu2
{
border:0px solid blue;
overflow:hidden;
height:50px;
background-image:url('img/bottom_menu.png');
font-size:12px;
line-height:50px;
line-width:50px;
}
.fizlica
{
border:0px solid blue;
overflow:hidden;
height:300px;
padding-top:50px;
position:relative;
top:-32px;
}
.fizlica1
{
text-decoration:none;
color:#424242;
font-family:arial;
line-height:23px;
}
.fizlica1:hover
{
color:#e31e24;
text-decoration:underline;
}
.podpis
{
border:0px solid blue;
width:130px;
font-family:arial;
font-size:24px;
position:relative;
left:17px;
top:-152px;
padding:0;
margin:0;
color:#ffffff;
font-weight:bold;
text-align:center;
background-color:#00a0e3;
}
.podpis1
{
border:0px solid blue;
width:143px;
font-family:arial;
font-size:24px;
position:relative;
left:395px;
top:231px;
padding:0;
margin:0;
color:#ffffff;
font-weight:bold;
text-align:center;
background-color:#ef7f1a;
}
.podpis2
{
border:0px solid blue;
width:203px;
font-family:arial;
font-size:24px;
position:relative;
left:17px;
top:-215px;
padding:0;
margin:0;
color:#ffffff;
font-weight:bold;
text-align:center;
background-color:#009846;
}
.podpis3
{
border:0px solid blue;
width:143px;
font-family:arial;
font-size:24px;
position:relative;
left:395px;
top:168px;
padding:0;
margin:0;
color:#ffffff;
font-weight:bold;
text-align:center;
background-color:#e31e24;
}
.urlica
{
border:0px solid blue;
float:right;
overflow:hidden;
height:300px;
padding-top:50px;
padding-left:18px;
position:relative;
top:-1px;
}
.urlica1
{
text-decoration:none;
color:#424242;
font-family:arial;
line-height:23px;
}
.urlica1:hover
{
color:#e31e24;
text-decoration:underline;
}
.zayavka
{
border:0px solid blue;
float:right;
overflow:hidden;
height:300px;
width:225px;
padding-top:50px;
padding-left:18px;
background-image:url('img/form_zayavki.png');
background-repeat:no-repeat;
background-position:right bottom;
font-family:arial;
color:#424242;
line-height:20px;
}
.ipoteka
{
border:0px solid blue;
overflow:hidden;
height:300px;
padding-top:50px;
position:relative;
top:-94px;
}
.ipoteka1
{
text-decoration:none;
color:#424242;
font-family:arial;
line-height:23px;
}
.ipoteka1:hover
{
color:#e31e24;
text-decoration:underline;
}
.auto
{
border:0px solid blue;
float:right;
overflow:hidden;
height:300px;
padding-top:50px;
padding-left:18px;
position:relative;
top:-63px;
}
.auto1
{
text-decoration:none;
color:#424242;
font-family:arial;
line-height:23px;
}
.auto1:hover
{
color:#e31e24;
text-decoration:underline;
}
.calc
{
border:0px solid blue;
float:right;
overflow:hidden;
height:50px;
width:225px;
padding-top:50px;
padding-left:18px;
background-image:url('img/kreditcalc.png');
background-repeat:no-repeat;
background-position:right bottom;
text-align:center;
position:relative;
top:-63px;
}
.kreditkalktext
{
position:relative;
top:6px;
left:33px;
}
.kreditkalk1
{
text-decoration:none;
color:#424242;
font-family:arial;
margin-width:100%;
}
.kreditkalk1:hover
{
color:#e31e24;
text-decoration:underline;
}
.menu
{
border:0px solid blue;
text-decoration:none;
color:#ffffff;
font-family:arial;
font-weight:bold;
padding:20px 24px;
}
.menu:hover
{
color:#e31e24;
text-decoration:underline;
}
.menu_2
{
border:0px solid blue;
text-decoration:none;
color:#424242;
font-family:arial;
font-weight:bold;
padding:18px;
margin-width:100%;
vertical-align:top;
}
.menu_2:hover
{
color:#e31e24;
text-decoration:underline;
}
#logophone
{
position:relative;
top:43px;
right:0px;
}
.line
{
position:relative;
top:0px;
}
.copyright
{
border:0px solid blue;
width:900px;
color:#424242;
font-size:12px;
font-family:arial;
padding:0px 0px;
padding:0;
margin:0;
line-height:20px;
position:relative;
top:20px;
}
.menu_bottom
{
border:0px solid blue;
color:#424242;
font-size:12px;
font-family:arial;
position:relative;
width:150px;
left:725px;
top:-42px;
line-height:20px;
}
.menu_bottom1
{
text-decoration:none;
color:#424242;
font-family:arial;
}
.menu_bottom1:hover
{
color:#e31e24;
text-decoration:underline;
}
.potreb
{
width:710px;
height:1200px;
}
#abzac
{
text-indent:15px;
font-family:arial;
font-size:14px;
color:#424242
}
#abzac1
{
text-indent:15px;
font-family:arial;
font-size:14px;
color:#424242
}
#zagolovki
{
text-indent:15px;
font-family:arial;
font-size:14px;
color:#424242;
}
#zagolovki2
{
font-family:arial;
color:#424242;
}
#opr
{
text-indent:15px;
font-family:arial;
font-size:16px;
color:#e31e24;
}
#opr1
{
text-indent:15px;
font-family:arial;
font-size:16px;
color:#e31e24;
}
.telefony
{
font-family:arial;
font-size:18px;
color:#e31e24;
font-weight:bold;
text-align:center;
}
#rekvizity
{
font-family:arial;
font-size:14px;
color:#424242
}
Кредитный калькулятор
in PHP
Posted
Да нет, я уже так пробовал. Расчет то выходит, но дальше 2013 года идут только 2013 года. В этом и проблема.
e_skabar, вы: лентяй, балбес и дармоед
А по поводу оскорблений, я попрошу вас в следующий раз не применять их! Вам ни кто такого права не давал!
А вот за помощь спасибо вам большое! Очень помогли!